Module: Billit::Cl::PaperworkPageRepresenter

Includes:
Roar::Representer::Feature::Hypermedia, Roar::Representer::JSON
Included in:
PaperworkCollection
Defined in:
lib/billit_representers/representers/cl/paperwork_page_representer.rb

Defined Under Namespace

Modules: Initializer

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



20
21
22
23
# File 'lib/billit_representers/representers/cl/paperwork_page_representer.rb', line 20

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

Instance Method Details

#paperworksObject



27
28
29
# File 'lib/billit_representers/representers/cl/paperwork_page_representer.rb', line 27

def paperworks
  collect
end