Sha256: 24a44acd984aaaacb6edc4f95e3ca4575f00d7aca49fb479d6842954575b82e6
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
class ActiveModel::Serializer::Adapter::FlattenJson < ActiveModel::Serializer::Adapter::Json def serializable_hash(options = {}) super.each_value.first end private # no-op: FlattenJson adapter does not include meta data, because it does not support root. def include_meta(json) json end end
Version data entries
3 entries across 3 versions & 2 rubygems