Class: SacsRuby::API::AlternateAirportShop
- Includes:
- BasePost
- Defined in:
- lib/sacs_ruby/api/alternate_airport_shop.rb
Overview
The Alternate Airport Shop API allows you to define up to 20 airports per origin and/or destination. The API returns the lead fare (either nonstop or overall, whichever is lowest) with the corresponding flight itinerary and fare breakdown for each lead fare.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from BasePost
Methods inherited from Base
get, #get, #initialize, #valid?
Constructor Details
This class inherits a constructor from SacsRuby::Base
Instance Method Details
#endpoint_url ⇒ Object
10 11 12 |
# File 'lib/sacs_ruby/api/alternate_airport_shop.rb', line 10 def endpoint_url '/v1.9.0/shop/altairports/flights?mode=live' end |