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