Class: SacsRuby::API::LeadPriceCalendar
- Defined in:
- lib/sacs_ruby/api/lead_price_calendar.rb
Overview
The Lead Price Calendar API returns the lowest published fares each of the next 192 calendar days for a given city pair.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
get, #get, #initialize, #valid?
Constructor Details
This class inherits a constructor from SacsRuby::Base
Instance Method Details
#endpoint_url ⇒ Object
12 13 14 |
# File 'lib/sacs_ruby/api/lead_price_calendar.rb', line 12 def endpoint_url '/v2/shop/flights/fares' end |
#required_vars ⇒ Object
8 9 10 |
# File 'lib/sacs_ruby/api/lead_price_calendar.rb', line 8 def required_vars %i(origin destination lengthofstay) end |