mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Adapters must be eager loaded to ensure they are defined
before they are used as namespacing.
cf6a074a1c (diff-41f2b3509d33e1c65bb70ee0ec7a2eea)
12 lines
181 B
Ruby
12 lines
181 B
Ruby
module ActiveModel
|
|
class Serializer
|
|
class Adapter
|
|
class Null < Adapter
|
|
def serializable_hash(options = nil)
|
|
{}
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|