Class: Billit::Bill
- Inherits:
-
Object
- Object
- Billit::Bill
- Includes:
- BillRepresenter
- Defined in:
- lib/billit_representers/models/bill.rb
Instance Attribute Summary collapse
-
#representable_attrs ⇒ Object
readonly
Returns the value of attribute representable_attrs.
Instance Method Summary collapse
Methods included from BillRepresenter
Instance Attribute Details
#representable_attrs ⇒ Object (readonly)
Returns the value of attribute representable_attrs.
6 7 8 |
# File 'lib/billit_representers/models/bill.rb', line 6 def representable_attrs @representable_attrs end |
Instance Method Details
#bill_draft_link ⇒ Object
20 21 22 |
# File 'lib/billit_representers/models/bill.rb', line 20 def bill_draft_link links[:bill_draft].href if links[:bill_draft] end |
#law_web_link ⇒ Object
16 17 18 |
# File 'lib/billit_representers/models/bill.rb', line 16 def law_web_link links[:law_web].href if links[:law_web] end |
#law_xml_link ⇒ Object
12 13 14 |
# File 'lib/billit_representers/models/bill.rb', line 12 def law_xml_link links[:law_xml].href if links[:law_xml] end |
#self_link ⇒ Object
8 9 10 |
# File 'lib/billit_representers/models/bill.rb', line 8 def self_link links[:self].href if links[:self] end |