Class: SacsRuby::API::CityPairsLookup
- Defined in:
- lib/sacs_ruby/api/city_pairs_lookup.rb
Overview
The City Pairs Lookup API consists of supplemental APIs which retrieve city pairs that can be passed to applicable Air Shopping REST APIs. A city pair is passed as a combination of an origin and destination airport. For example, City Pairs Lookup retrieves the SJU-MIA city pair (San Juan International, Puerto Rico to Miami International). You can pass this city pair for any applicable air search API request, e.g., Lead Price Calendar.
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/city_pairs_lookup.rb', line 12 def endpoint_url '/v1/lists/supported/shop/flights/origins-destinations' end |