Sha256: 1cb938d8147cff81c52c59c8e4e6ccc79b1d66deeda6a5a27080d1497a56ccc9
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
module ActiveModel class Serializer module Adapter class Json < Base extend ActiveSupport::Autoload autoload :FragmentCache def serializable_hash(options = nil) options ||= {} { root => Attributes.new(serializer, instance_options).serializable_hash(options) } end private def fragment_cache(cached_hash, non_cached_hash) ActiveModel::Serializer::Adapter::Json::FragmentCache.new.fragment_cache(cached_hash, non_cached_hash) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_model_serializers-0.10.0.rc4 | lib/active_model/serializer/adapter/json.rb |