Class: Amadeus::Namespaces::ReferenceData::Locations
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::ReferenceData::Locations
- Defined in:
- lib/amadeus/namespaces/reference_data/locations.rb,
lib/amadeus/namespaces/reference_data/locations/airports.rb,
lib/amadeus/namespaces/reference_data/locations/points_of_interest.rb,
lib/amadeus/namespaces/reference_data/locations/points_of_interest/by_square.rb
Overview
Defined Under Namespace
Classes: Airports, PointsOfInterest
Instance Method Summary collapse
-
#airports ⇒ Amadeus::Namespaces::ReferenceData::Locations::Airports
The namespace for the Airports API:.
-
#get(params = {}) ⇒ Amadeus::Response
Returns a list of airports and cities matching a given keyword.
-
#points_of_interest ⇒ Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest
The namespace for the Point Of Interest API:.
Instance Method Details
#airports ⇒ Amadeus::Namespaces::ReferenceData::Locations::Airports
The namespace for the Airports API:
21 22 23 |
# File 'lib/amadeus/namespaces/reference_data/locations.rb', line 21 def airports Amadeus::Namespaces::ReferenceData::Locations::Airports.new(client) end |
#get(params = {}) ⇒ Amadeus::Response
Returns a list of airports and cities matching a given keyword.
49 50 51 |
# File 'lib/amadeus/namespaces/reference_data/locations.rb', line 49 def get(params = {}) client.get('/v1/reference-data/locations', params) end |
#points_of_interest ⇒ Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest
The namespace for the Point Of Interest API:
31 32 33 |
# File 'lib/amadeus/namespaces/reference_data/locations.rb', line 31 def points_of_interest Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest.new(client) end |