Class: Billit::BillPage
- Inherits:
-
Object
- Object
- Billit::BillPage
- Includes:
- BillPageRepresenter
- Defined in:
- lib/billit_representers/models/bill_page.rb
Instance Method Summary collapse
Methods included from BillPageRepresenter
Instance Method Details
#next ⇒ Object
10 11 12 |
# File 'lib/billit_representers/models/bill_page.rb', line 10 def next links[:next].href if links[:next] end |
#previous ⇒ Object
14 15 16 |
# File 'lib/billit_representers/models/bill_page.rb', line 14 def previous links[:previous].href if links[:previous] end |
#self ⇒ Object
6 7 8 |
# File 'lib/billit_representers/models/bill_page.rb', line 6 def self links[:self].href if links[:self] end |