Module: Representable::JSON::Collection

Includes:
Representable::JSON
Defined in:
lib/representable/json/collection.rb

Class Method Summary collapse

Methods included from Representable::JSON

#from_json, #to_json

Methods included from Hash::ClassMethods

#collection_representer_class, #format_engine

Class Method Details

.included(base) ⇒ Object



8
9
10
# File 'lib/representable/json/collection.rb', line 8

def self.included(base)
  base.send :include, Representable::Hash::Collection
end