Class: Billit::Cl::Bill
- Inherits:
-
Object
- Object
- Billit::Cl::Bill
- Includes:
- BillRepresenter
- Defined in:
- lib/billit_representers/models/cl/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.
7 8 9 |
# File 'lib/billit_representers/models/cl/bill.rb', line 7 def representable_attrs @representable_attrs end |
Instance Method Details
#bill_draft_link ⇒ Object
21 22 23 |
# File 'lib/billit_representers/models/cl/bill.rb', line 21 def bill_draft_link links[:bill_draft].href if links[:bill_draft] end |
#law_web_link ⇒ Object
17 18 19 |
# File 'lib/billit_representers/models/cl/bill.rb', line 17 def law_web_link links[:law_web].href if links[:law_web] end |
#law_xml_link ⇒ Object
13 14 15 |
# File 'lib/billit_representers/models/cl/bill.rb', line 13 def law_xml_link links[:law_xml].href if links[:law_xml] end |
#self_link ⇒ Object
9 10 11 |
# File 'lib/billit_representers/models/cl/bill.rb', line 9 def self_link links[:self].href if links[:self] end |