Module: Billit::PaperworkCollectionRepresenter

Includes:
Roar::Representer::Feature::Hypermedia, Roar::Representer::JSON
Included in:
BillitPaperworkCollection
Defined in:
lib/billit_representers_argentina/representers/paperwork_collection_representer.rb

Defined Under Namespace

Modules: Initializer

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



18
19
20
21
# File 'lib/billit_representers_argentina/representers/paperwork_collection_representer.rb', line 18

def self.included(klass)
  klass.send :prepend, Initializer
  klass.send :include, Roar::Representer::Feature::HttpVerbs
end

Instance Method Details

#paperworksObject



25
26
27
# File 'lib/billit_representers_argentina/representers/paperwork_collection_representer.rb', line 25

def paperworks
  collect
end