Sha256: 5a34e0ef81c902a3d70763e0524c9cf6dd58afd422d2611e4eb606d8893514b0

Contents?: true

Size: 467 Bytes

Versions: 7

Compression:

Stored size: 467 Bytes

Contents

require 'billit_representers_argentina/representers/bill_basic_representer'
module Billit
  class BillBasic
    include Billit::BillBasicRepresenter

    attr_reader :representable_attrs

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

	def law_xml_link
	  links[:law_xml].href if links[:law_xml]
	end

	def law_web_link
	  links[:law_web].href if links[:law_web]
	end

	def bill_draft_link
	  links[:bill_draft].href if links[:bill_draft]
	end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
billit_representers_argentina-0.9.17 lib/billit_representers_argentina/models/bill_basic.rb
billit_representers_argentina-0.9.16 lib/billit_representers_argentina/models/bill_basic.rb
billit_representers_argentina-0.9.14 lib/billit_representers_argentina/models/bill_basic.rb
billit_representers_argentina-0.9.13 lib/billit_representers_argentina/models/bill_basic.rb
billit_representers_argentina-0.9.12 lib/billit_representers_argentina/models/bill_basic.rb
billit_representers_argentina-0.9.11 lib/billit_representers_argentina/models/bill_basic.rb
billit_representers_argentina-0.9.10 lib/billit_representers_argentina/models/bill_basic.rb