Class: Amadeus::Namespaces::Booking

Inherits:
Client::Decorator
  • Object
show all
Defined in:
lib/amadeus/namespaces/booking.rb,
lib/amadeus/namespaces/booking/hotel_bookings.rb

Overview

A namespaced client for the /v1/booking endpoints

Access via the Amadeus::Client object

amadeus = Amadeus::Client.new
amadeus.booking

Defined Under Namespace

Classes: HotelBookings

Instance Method Summary collapse

Instance Method Details

#hotel_bookingsAmadeus::Namespaces::Booking::HotelBookings

The namespace for the Booking APIs:

Examples:

amadeus.booking.hotel_bookings

Returns:



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

def hotel_bookings
  Amadeus::Namespaces::Booking::HotelBookings.new(client)
end