Class: Amadeus::Namespaces::Shopping
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::Shopping
- Defined in:
- lib/amadeus/namespaces/shopping.rb,
lib/amadeus/namespaces/shopping/hotel.rb,
lib/amadeus/namespaces/shopping/hotel/offer.rb,
lib/amadeus/namespaces/shopping/flight_dates.rb,
lib/amadeus/namespaces/shopping/hotel_offers.rb,
lib/amadeus/namespaces/shopping/flight_offers.rb,
lib/amadeus/namespaces/shopping/hotel/hotel_offers.rb,
lib/amadeus/namespaces/shopping/flight_destinations.rb
Overview
Defined Under Namespace
Classes: FlightDates, FlightDestinations, FlightOffers, Hotel, HotelOffers
Instance Method Summary collapse
-
#flight_dates ⇒ Amadeus::Namespaces::Shopping::FlightDates
The namespace for the FlightDates API:.
-
#flight_destinations ⇒ Amadeus::Namespaces::Shopping::FlightDestinations
The namespace for the FlightDestinations API:.
-
#flight_offers ⇒ Amadeus::Namespaces::Shopping::FlightOffers
The namespace for the FlightOffers API:.
-
#hotel(hotel_id) ⇒ Amadeus::Namespaces::Shopping::Hotel
The namespace for the Hotels API:.
-
#hotel_offers ⇒ Amadeus::Namespaces::Shopping::HotelOffers
The namespace for the HotelOffers API:.
Instance Method Details
#flight_dates ⇒ Amadeus::Namespaces::Shopping::FlightDates
The namespace for the FlightDates API:
40 41 42 |
# File 'lib/amadeus/namespaces/shopping.rb', line 40 def flight_dates Amadeus::Namespaces::Shopping::FlightDates.new(client) end |
#flight_destinations ⇒ Amadeus::Namespaces::Shopping::FlightDestinations
The namespace for the FlightDestinations API:
20 21 22 |
# File 'lib/amadeus/namespaces/shopping.rb', line 20 def flight_destinations Amadeus::Namespaces::Shopping::FlightDestinations.new(client) end |
#flight_offers ⇒ Amadeus::Namespaces::Shopping::FlightOffers
The namespace for the FlightOffers API:
30 31 32 |
# File 'lib/amadeus/namespaces/shopping.rb', line 30 def flight_offers Amadeus::Namespaces::Shopping::FlightOffers.new(client) end |
#hotel(hotel_id) ⇒ Amadeus::Namespaces::Shopping::Hotel
The namespace for the Hotels API:
61 62 63 |
# File 'lib/amadeus/namespaces/shopping.rb', line 61 def hotel(hotel_id) Amadeus::Namespaces::Shopping::Hotel.new(client, hotel_id) end |
#hotel_offers ⇒ Amadeus::Namespaces::Shopping::HotelOffers
The namespace for the HotelOffers API:
50 51 52 |
# File 'lib/amadeus/namespaces/shopping.rb', line 50 def hotel_offers Amadeus::Namespaces::Shopping::HotelOffers.new(client) end |