Sha256: f4e168662a9aece0a477da449d494c9fc2bd7380d7aa3156d3c55696defa08fa
Contents?: true
Size: 415 Bytes
Versions: 9
Compression:
Stored size: 415 Bytes
Contents
module ActiveModelSerializers module Adapter class Attributes < Base def serializable_hash(options = nil) options = serialization_options(options) options[:fields] ||= instance_options[:fields] serialized_hash = serializer.serializable_hash(instance_options, options, self) self.class.transform_key_casing!(serialized_hash, instance_options) end end end end
Version data entries
9 entries across 9 versions & 2 rubygems