Class: Amadeus::Namespaces::ReferenceData::Airlines
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::ReferenceData::Airlines
- Defined in:
- lib/amadeus/namespaces/reference_data/airlines.rb
Overview
A namespaced client for the /v1/reference-data/airlines endpoints
Access via the Amadeus::Client object
amadeus = Amadeus::Client.new
amadeus.reference_data.airlines
Instance Method Summary collapse
-
#get(params = {}) ⇒ Amadeus::Response
Returns the airline name for a given IATA code - required.
Instance Method Details
#get(params = {}) ⇒ Amadeus::Response
Returns the airline name for a given IATA code
-
required
23 24 25 |
# File 'lib/amadeus/namespaces/reference_data/airlines.rb', line 23 def get(params = {}) client.get('/v1/reference-data/airlines', params) end |