Class: Amadeus::Namespaces::Airport

Inherits:
Client::Decorator
  • Object
show all
Defined in:
lib/amadeus/namespaces/airport.rb,
lib/amadeus/namespaces/airport/predictions.rb,
lib/amadeus/namespaces/airport/predictions/on_time.rb

Overview

A namespaced client for the /v1/airport endpoints

Access via the Amadeus::Client object

amadeus = Amadeus::Client.new
amadeus.airport

Defined Under Namespace

Classes: Predictions

Instance Method Summary collapse

Instance Method Details

#predictionsAmadeus::Namespaces::Airport::Predictions

The namespace for the Ai APIs:

Examples:

amadeus.airport.predictions

Returns:



20
21
22
# File 'lib/amadeus/namespaces/airport.rb', line 20

def predictions
  Amadeus::Namespaces::Airport::Predictions.new(client)
end