Class: Billit::Cl::BillPage

Inherits:
Object
  • Object
show all
Includes:
BillPageRepresenter
Defined in:
lib/billit_representers/models/cl/bill_page.rb

Instance Method Summary collapse

Methods included from BillPageRepresenter

#bills, included

Instance Method Details

#nextObject



11
12
13
# File 'lib/billit_representers/models/cl/bill_page.rb', line 11

def next
  links[:next].href if links[:next]
end

#previousObject



15
16
17
# File 'lib/billit_representers/models/cl/bill_page.rb', line 15

def previous
  links[:previous].href if links[:previous]
end

#selfObject



7
8
9
# File 'lib/billit_representers/models/cl/bill_page.rb', line 7

def self
  links[:self].href if links[:self]
end