Sha256: 09e827da121843ea943968c3b800a45873af4f99b7383f3314c2df101bb3294d
Contents?: true
Size: 457 Bytes
Versions: 11
Compression:
Stored size: 457 Bytes
Contents
require 'billit_representers/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
11 entries across 11 versions & 1 rubygems