Module: Amadeus::Namespaces

Included in:
Client
Defined in:
lib/amadeus/namespaces/core.rb,
lib/amadeus/namespaces/travel.rb,
lib/amadeus/namespaces/shopping.rb,
lib/amadeus/namespaces/reference_data.rb,
lib/amadeus/namespaces/shopping/hotel.rb,
lib/amadeus/namespaces/travel/analytics.rb,
lib/amadeus/namespaces/reference_data/urls.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/reference_data/airlines.rb,
lib/amadeus/namespaces/reference_data/location.rb,
lib/amadeus/namespaces/reference_data/locations.rb,
lib/amadeus/namespaces/shopping/hotel/hotel_offers.rb,
lib/amadeus/namespaces/shopping/flight_destinations.rb,
lib/amadeus/namespaces/travel/analytics/air_traffic.rb,
lib/amadeus/namespaces/travel/analytics/fare_searches.rb,
lib/amadeus/namespaces/reference_data/locations/airports.rb,
lib/amadeus/namespaces/reference_data/urls/checkin_links.rb,
lib/amadeus/namespaces/travel/analytics/air_traffic/booked.rb,
lib/amadeus/namespaces/travel/analytics/air_traffic/traveled.rb,
lib/amadeus/namespaces/travel/analytics/air_traffic/busiest_period.rb

Overview

The namespaces that allow this API to map the paths of the API to similar calls on the SDK

Access via the Amadeus::Client object

amadeus = Amadeus::Client.new
amadeus.reference_data
amadeus.shopping
amadeus.travel

Defined Under Namespace

Classes: ReferenceData, Shopping, Travel

Instance Method Summary collapse

Instance Method Details

#reference_dataAmadeus::Namespaces::ReferenceData

The namespace for the checkin links and locations APIs:

Examples:

Some of the further namespaces available

amadeus.reference_data.urls.checkin_links
amadeus.reference_data.locations

Returns:



22
23
24
# File 'lib/amadeus/namespaces/core.rb', line 22

def reference_data
  ReferenceData.new(self)
end

#shoppingAmadeus::Namespaces::Shopping

The namespace for the shopping APIs:

Examples:

Some of the further namespaces available

amadeus.shopping.flight_destinations
amadeus.shopping.flight_offers
amadeus.shopping.flight_dates
amadeus.shopping.hotel_offers
amadeus.shopping.hotels

Returns:



36
37
38
# File 'lib/amadeus/namespaces/core.rb', line 36

def shopping
  Shopping.new(self)
end

#travelAmadeus::Namespaces::Travel

The namespace for the travel analytics APIs:

Examples:

Some of the further namespaces available

amadeus.travel.analytics.air_traffic
amadeus.travel.analytics.fare_searches

Returns:



47
48
49
# File 'lib/amadeus/namespaces/core.rb', line 47

def travel
  Travel.new(self)
end