mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
20 lines
261 B
Ruby
20 lines
261 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ActiveModel
|
|
class Serializer
|
|
class Null < Serializer
|
|
def attributes(*)
|
|
{}
|
|
end
|
|
|
|
def associations(*)
|
|
{}
|
|
end
|
|
|
|
def serializable_hash(*)
|
|
{}
|
|
end
|
|
end
|
|
end
|
|
end
|