Sha256: ad33307696a49e48c009a948e225b011286c24da290f25d40d9192d321232da1
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
module ActiveModelSerializers module Adapter class Json < Base def serializable_hash(options = nil) options ||= {} serialized_hash = { root => Attributes.new(serializer, instance_options).serializable_hash(options) } self.class.transform_key_casing!(serialized_hash, options) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_model_serializers-0.10.0.rc5 | lib/active_model_serializers/adapter/json.rb |