Class: Amadeus::Namespaces::Shopping::FlightOffers
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::Shopping::FlightOffers
- Defined in:
- lib/amadeus/namespaces/shopping/flight_offers.rb,
lib/amadeus/namespaces/shopping/flight_offers/prediction.rb
Overview
Defined Under Namespace
Classes: Prediction
Instance Method Summary collapse
-
#get(params = {}) ⇒ Amadeus::Response
Find the cheapest bookable flights.
-
#prediction ⇒ Amadeus::Namespaces::Shopping::FlightOffers::Prediction
The namespace for the Prediction API:.
Instance Method Details
#get(params = {}) ⇒ Amadeus::Response
Find the cheapest bookable flights.
41 42 43 |
# File 'lib/amadeus/namespaces/shopping/flight_offers.rb', line 41 def get(params = {}) client.get('/v1/shopping/flight-offers', params) end |
#prediction ⇒ Amadeus::Namespaces::Shopping::FlightOffers::Prediction
The namespace for the Prediction API:
21 22 23 |
# File 'lib/amadeus/namespaces/shopping/flight_offers.rb', line 21 def prediction Amadeus::Namespaces::Shopping::FlightOffers::Prediction.new(client) end |