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

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/representable/json/collection.rb', line 5

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