Sha256: 559064e31491f04c22f61244a0c25fe365866db4a7b03b25d6318ee14e3cf856

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

require 'active_model/serializer/adapter/fragment_cache'
module ActiveModel
  class Serializer
    class Adapter
      class Json < Adapter
        class FragmentCache
          def fragment_cache(cached_hash, non_cached_hash)
            non_cached_hash.merge cached_hash
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cheap_ams-0.10.8 lib/active_model/serializer/adapter/json/fragment_cache.rb
cheap_ams-0.10.7 lib/active_model/serializer/adapter/json/fragment_cache.rb
cheap_ams-0.10.6 lib/active_model/serializer/adapter/json/fragment_cache.rb