Class: Amadeus::Namespaces::ReferenceData::Locations::Airports
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::ReferenceData::Locations::Airports
- Defined in:
- lib/amadeus/namespaces/reference_data/locations/airports.rb
Overview
A namespaced client for the /v2/reference-data/locations/airports endpoints
Access via the Amadeus::Client object
amadeus = Amadeus::Client.new
amadeus.reference_data.locations.airports
Instance Method Summary collapse
-
#get(params = {}) ⇒ Amadeus::Response
Returns a list of relevant airports near to a given point.
Instance Method Details
#get(params = {}) ⇒ Amadeus::Response
Returns a list of relevant airports near to a given point.
31 32 33 |
# File 'lib/amadeus/namespaces/reference_data/locations/airports.rb', line 31 def get(params = {}) client.get('/v1/reference-data/locations/airports', params) end |