Module: Billit::BillPageRepresenter

Includes:
Roar::Representer::Feature::Hypermedia, Roar::Representer::JSON
Included in:
BillPage
Defined in:
lib/billit_representers/representers/bill_page_representer.rb

Defined Under Namespace

Modules: Initializer

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



19
20
21
22
# File 'lib/billit_representers/representers/bill_page_representer.rb', line 19

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

Instance Method Details

#billsObject



44
45
46
# File 'lib/billit_representers/representers/bill_page_representer.rb', line 44

def bills
  self
end