Class: SacsRuby::API::MultiAirportCityLookup
- Defined in:
- lib/sacs_ruby/api/multi_airport_city_lookup.rb
Overview
The Multi-Airport City Lookup API returns a list of multi-airport city (MAC) codes. The response contains multi-airport cities located in the requested country(s), sorted by city name, in ascending rank order. If no country is specified, then all MAC codes and cities are returned. An example multi-airport city code is CHI, and the corresponding city name is Chicago. Note: Some city codes represent a metropolitan area that contains more than one major city. For example, the MAC code “QDF” represents Dallas and Ft. Worth, Texas. In this case, the city name is “Dallas / Ft. Worth”.
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
15 16 17 |
# File 'lib/sacs_ruby/api/multi_airport_city_lookup.rb', line 15 def endpoint_url '/v1/lists/supported/cities' end |