Module: TenderSummary::JsonHelpers

Defined in:
lib/tender_summary/tender_api.rb

Instance Method Summary collapse

Instance Method Details

#href(key, options = {}) ⇒ Object



53
54
55
# File 'lib/tender_summary/tender_api.rb', line 53

def href(key, options = {})
  Addressable::Template.new(self["#{key}_href"]).expand(options).to_s
end