Sha256: f0ab94f34e3eae2064028c1597f27d7451cd2694488bd7d6f28e66ab58899734

Contents?: true

Size: 319 Bytes

Versions: 12

Compression:

Stored size: 319 Bytes

Contents

require 'billit_representers/representers/bill_page_representer'
module Billit
  class BillPage
    include Billit::BillPageRepresenter

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

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
billit_representers-0.9.10 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.9 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.8 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.7 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.6 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.5 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.4 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.3 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.2 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.1 lib/billit_representers/models/bill_page.rb
billit_representers-0.10.0 lib/billit_representers/models/bill_page.rb
billit_representers-0.9.0 lib/billit_representers/models/bill_page.rb