Class: Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest
- Inherits:
-
Client::Decorator
- Object
- Client::Decorator
- Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest
- Defined in:
- 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: BySquare
Instance Method Summary collapse
-
#by_square ⇒ Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest
The namespace for the Point Of Interest API:.
-
#get(params = {}) ⇒ Amadeus::Response
Returns a list of relevant point of interests near to a given point.
Instance Method Details
#by_square ⇒ Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest
The namespace for the Point Of Interest API:
22 23 24 |
# File 'lib/amadeus/namespaces/reference_data/locations/points_of_interest.rb', line 22 def by_square Amadeus::Namespaces::ReferenceData::Locations::PointsOfInterest::BySquare.new(client) end |
#get(params = {}) ⇒ Amadeus::Response
Returns a list of relevant point of interests near to a given point.
41 42 43 |
# File 'lib/amadeus/namespaces/reference_data/locations/points_of_interest.rb', line 41 def get(params = {}) client.get('/v1/reference-data/locations/pois', params) end |