Class: ActiveModel::Serializer::Adapter::Json::FragmentCache

Inherits:
Object
  • Object
show all
Defined in:
lib/active_model/serializer/adapter/json/fragment_cache.rb

Instance Method Summary collapse

Instance Method Details

#fragment_cache(cached_hash, non_cached_hash) ⇒ Object



2
3
4
# File 'lib/active_model/serializer/adapter/json/fragment_cache.rb', line 2

def fragment_cache(cached_hash, non_cached_hash)
  non_cached_hash.merge cached_hash
end