Class: Amadeus::Namespaces::ReferenceData::Locations
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::ReferenceData::Locations
- Defined in:
- lib/amadeus/namespaces/reference_data/locations.rb,
lib/amadeus/namespaces/reference_data/locations/airports.rb
Overview
Defined Under Namespace
Classes: Airports
Instance Method Summary collapse
-
#airports ⇒ Amadeus::Namespaces::ReferenceData::Locations::Airports
The namespace for the Airports API:.
-
#get(params = {}) ⇒ Amadeus::Response
Returns a list of airports and cities matching a given keyword.
Instance Method Details
#airports ⇒ Amadeus::Namespaces::ReferenceData::Locations::Airports
The namespace for the Airports API:
21 22 23 |
# File 'lib/amadeus/namespaces/reference_data/locations.rb', line 21 def airports Amadeus::Namespaces::ReferenceData::Locations::Airports.new(client) end |
#get(params = {}) ⇒ Amadeus::Response
Returns a list of airports and cities matching a given keyword.
39 40 41 |
# File 'lib/amadeus/namespaces/reference_data/locations.rb', line 39 def get(params = {}) client.get('/v1/reference-data/locations', params) end |