mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
18 lines
230 B
Ruby
18 lines
230 B
Ruby
module ActiveModel
|
|
class Serializer
|
|
class Null < Serializer
|
|
def attributes(*)
|
|
{}
|
|
end
|
|
|
|
def associations(*)
|
|
{}
|
|
end
|
|
|
|
def serializable_hash(*)
|
|
{}
|
|
end
|
|
end
|
|
end
|
|
end
|