amadeus 3.2.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -1
  3. data/README.md +52 -52
  4. data/amadeus.gemspec +12 -10
  5. data/lib/amadeus.rb +19 -4
  6. data/lib/amadeus/client/direction.rb +2 -4
  7. data/lib/amadeus/client/errors.rb +5 -4
  8. data/lib/amadeus/client/location.rb +2 -2
  9. data/lib/amadeus/client/request/hash.rb +1 -1
  10. data/lib/amadeus/namespaces/airport.rb +25 -0
  11. data/lib/amadeus/namespaces/airport/predictions.rb +27 -0
  12. data/lib/amadeus/namespaces/airport/predictions/on_time.rb +32 -0
  13. data/lib/amadeus/namespaces/analytics.rb +25 -0
  14. data/lib/amadeus/namespaces/analytics/itinerary_price_metrics.rb +38 -0
  15. data/lib/amadeus/namespaces/booking.rb +25 -0
  16. data/lib/amadeus/namespaces/booking/hotel_bookings.rb +52 -0
  17. data/lib/amadeus/namespaces/core.rb +50 -0
  18. data/lib/amadeus/namespaces/e_reputation.rb +25 -0
  19. data/lib/amadeus/namespaces/e_reputation/hotel_sentiments.rb +31 -0
  20. data/lib/amadeus/namespaces/reference_data/locations.rb +13 -1
  21. data/lib/amadeus/namespaces/reference_data/locations/point_of_interest.rb +44 -0
  22. data/lib/amadeus/namespaces/safety.rb +34 -0
  23. data/lib/amadeus/namespaces/safety/safety_rated_location.rb +32 -0
  24. data/lib/amadeus/namespaces/safety/safety_rated_locations.rb +46 -0
  25. data/lib/amadeus/namespaces/safety/safety_rated_locations/by_square.rb +41 -0
  26. data/lib/amadeus/namespaces/shopping.rb +4 -4
  27. data/lib/amadeus/namespaces/shopping/flight_offers_search.rb +61 -0
  28. data/lib/amadeus/namespaces/shopping/{flight_offers → flight_offers_search}/prediction.rb +7 -6
  29. data/lib/amadeus/namespaces/travel.rb +10 -1
  30. data/lib/amadeus/namespaces/travel/analytics/air_traffic.rb +0 -23
  31. data/lib/amadeus/namespaces/travel/predictions.rb +37 -0
  32. data/lib/amadeus/namespaces/travel/predictions/flight_delay.rb +55 -0
  33. data/lib/amadeus/namespaces/travel/predictions/trip_purpose.rb +46 -0
  34. data/lib/amadeus/version.rb +1 -1
  35. metadata +41 -26
  36. data/lib/amadeus/namespaces/shopping/flight_offers.rb +0 -47
  37. data/lib/amadeus/namespaces/travel/analytics/air_traffic/searched.rb +0 -46
  38. data/lib/amadeus/namespaces/travel/analytics/air_traffic/searched_by_destination.rb +0 -54
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Amadeus
4
+ module Namespaces
5
+ class Safety
6
+ # A namespaced client for the
7
+ # +/v1/safety/safety_rated_locations/+ endpoints
8
+ #
9
+ # Access via the +Amadeus::Client+ object
10
+ #
11
+ # amadeus = Amadeus::Client.new
12
+ # amadeus.safety.safety_rated_locations
13
+ #
14
+ class SafetyRatedLocations < Amadeus::Client::Decorator
15
+ # The namespace for the Safe Place API:
16
+ #
17
+ # @return [Amadeus::Namespaces::Safety::SafetyRatedLocations]
18
+ # @example
19
+ # amadeus.safety.safety_rated_locations.by_square
20
+ #
21
+ def by_square
22
+ Amadeus::Namespaces::Safety::SafetyRatedLocations::BySquare.new(client)
23
+ end
24
+
25
+ # Returns a list of relevant safety information near to a given point.
26
+ #
27
+ # @option params [Double] :latitude latitude location to be at the
28
+ # center of the search circle - required
29
+ # @option params [Double] :longitude longitude location to be at the
30
+ # center of the search circle - required
31
+ # @return [Amadeus::Response] a parsed response
32
+ # @raise [Amadeus::Base] an exception if the call
33
+ # failed
34
+ # @example What are the different safety information in Barcelona
35
+ # amadeus.safety.safety_rated_locations.get(
36
+ # latitude: 41.397158,
37
+ # longitude: 2.160873
38
+ # )
39
+ #
40
+ def get(params = {})
41
+ client.get('/v1/safety/safety-rated-locations', params)
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Amadeus
4
+ module Namespaces
5
+ class Safety
6
+ class SafetyRatedLocations
7
+ # A namespaced client for the
8
+ # +/v1/safety/safety_rated_locations/by-square+ endpoints
9
+ #
10
+ # Access via the +Amadeus::Client+ object
11
+ #
12
+ # amadeus = Amadeus::Client.new
13
+ # amadeus.safety.safety_rated_locations.by_square
14
+ #
15
+ class BySquare < Amadeus::Client::Decorator
16
+ # Returns a list of relevant safety information
17
+ # around a defined square (4 points).
18
+ #
19
+ # @option params [Double] :north Latitude north of bounding box - required
20
+ # @option params [Double] :west Longitude west of bounding box - required
21
+ # @option params [Double] :south Latitude south of bounding box - required
22
+ # @option params [Double] :east Longitude east of bounding box - required
23
+ # @return [Amadeus::Response] a parsed response
24
+ # @raise [Amadeus::Base] an exception if the call
25
+ # failed
26
+ # @example How safe is Barcelona?
27
+ # amadeus.safety.safety_rated_locations.by_square.get(
28
+ # north: 41.397158,
29
+ # west: 2.160873,
30
+ # south: 41.394582,
31
+ # east: 2.177181
32
+ # )
33
+ #
34
+ def get(params = {})
35
+ client.get('/v1/safety/safety-rated-locations/by-square', params)
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -23,12 +23,12 @@ module Amadeus
23
23
 
24
24
  # The namespace for the FlightOffers API:
25
25
  #
26
- # @return [Amadeus::Namespaces::Shopping::FlightOffers]
26
+ # @return [Amadeus::Namespaces::Shopping::FlightOffersSearch]
27
27
  # @example
28
- # amadeus.shopping.flight_offers
28
+ # amadeus.shopping.flight_offers_search
29
29
  #
30
- def flight_offers
31
- Amadeus::Namespaces::Shopping::FlightOffers.new(client)
30
+ def flight_offers_search
31
+ Amadeus::Namespaces::Shopping::FlightOffersSearch.new(client)
32
32
  end
33
33
 
34
34
  # The namespace for the FlightDates API:
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Amadeus
4
+ module Namespaces
5
+ class Shopping
6
+ # A namespaced client for the
7
+ # +/v2/shopping/flight-offers+ endpoints
8
+ #
9
+ # Access via the +Amadeus::Client+ object
10
+ #
11
+ # amadeus = Amadeus::Client.new
12
+ # amadeus.shopping.flight_offers_search
13
+ #
14
+ class FlightOffersSearch < Amadeus::Client::Decorator
15
+ # The namespace for the Prediction API:
16
+ #
17
+ # @return [Amadeus::Namespaces::Shopping::FlightOffersSearch::Prediction]
18
+ # @example
19
+ # amadeus.shopping.flight_offers_search.prediction
20
+ #
21
+ def prediction
22
+ Amadeus::Namespaces::Shopping::FlightOffersSearch::Prediction.new(client)
23
+ end
24
+ # Find the cheapest bookable flights.
25
+ #
26
+ # @option params [String] :origin City/Airport IATA code from which the
27
+ # flight will depart. BOS, for example.
28
+ # @option params [String] :destination City/Airport IATA code to which
29
+ # the traveler is going. PAR, for example
30
+ # @return [Amadeus::Response] a parsed response
31
+ # @raise [Amadeus::Base] an exception if the call failed
32
+ # @example Find the cheapest flight offers from New-York to Madrid,
33
+ # for the first of October 2020
34
+ # amadeus.shopping.flight_offers_search.get(
35
+ # originLocationCode: 'NYC',
36
+ # destinationLocationCode: 'MAD',
37
+ # departureDate: '2020-10-01',
38
+ # adults: 1
39
+ # )
40
+ #
41
+
42
+ def get(params = {})
43
+ client.get('/v2/shopping/flight-offers', params)
44
+ end
45
+
46
+ # Find the cheapest bookable flights.
47
+ #
48
+ # @option body [JSON] :body flight search parameters
49
+ # @return [Amadeus::Response] a parsed response
50
+ # @raise [Amadeus::Base] an exception if the call
51
+ # failed
52
+ # @example
53
+ # amadeus.shopping.flight_offers_search.post(body)
54
+ #
55
+ def post(params = {})
56
+ client.post('/v2/shopping/flight-offers', params)
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
@@ -3,27 +3,28 @@
3
3
  module Amadeus
4
4
  module Namespaces
5
5
  class Shopping
6
- class FlightOffers
6
+ class FlightOffersSearch
7
7
  # A namespaced client for the
8
- # +/v1/shopping/flight-offers/prediction+ endpoints
8
+ # +/v2/shopping/flight-offers/prediction+ endpoints
9
9
  #
10
10
  # Access via the +Amadeus::Client+ object
11
11
  #
12
12
  # amadeus = Amadeus::Client.new
13
- # amadeus.shopping.flight-offers.prediction
13
+ # amadeus.shopping.flight_offers_search.prediction
14
14
  #
15
15
  class Prediction < Amadeus::Client::Decorator
16
16
  # Returns a list of flight offers including a choice prediction for each itineary.
17
17
  #
18
- # @option body [JSON] :body JSON response of the Flight Low-fare Search API
18
+ # @option body [JSON] :body JSON response of the Flight Offers Search API
19
19
  # @return [Amadeus::Response] a parsed response
20
20
  # @raise [Amadeus::Base] an exception if the call
21
21
  # failed
22
22
  # @example
23
- # amadeus.shopping.flight_offers.prediction.post(flight_offers_response.body)
23
+ # amadeus.shopping.flight_offers_search.prediction.post(
24
+ # flight_offers_search_response.body)
24
25
  #
25
26
  def post(params = {})
26
- client.post('/v1/shopping/flight-offers/prediction', params)
27
+ client.post('/v2/shopping/flight-offers/prediction', params)
27
28
  end
28
29
  end
29
30
  end
@@ -16,11 +16,20 @@ module Amadeus
16
16
  # @return [Amadeus::Namespaces::Travel::Analytics]
17
17
  # @example
18
18
  # amadeus.travel.analytics.air_traffic
19
- # amadeus.travel.analytics.fare_searches
20
19
  #
21
20
  def analytics
22
21
  Amadeus::Namespaces::Travel::Analytics.new(client)
23
22
  end
23
+
24
+ # The namespace for the travel Predictions APIs:
25
+ #
26
+ # @return [Amadeus::Namespaces::Travel::Predictions]
27
+ # @example
28
+ # amadeus.travel.predictions.trip_purpose
29
+ #
30
+ def predictions
31
+ Amadeus::Namespaces::Travel::Predictions.new(client)
32
+ end
24
33
  end
25
34
  end
26
35
  end
@@ -37,29 +37,6 @@ module Amadeus
37
37
  )
38
38
  end
39
39
 
40
- # The namespace for the Searched API:
41
- #
42
- # @return
43
- # [Amadeus::Namespaces::Travel::Analytics::AirTraffic::Searched]
44
- # @example
45
- # amadeus.travel.analytics.air_traffic.searched
46
- def searched
47
- Amadeus::Namespaces::Travel::Analytics::AirTraffic::Searched.new(
48
- client
49
- )
50
- end
51
-
52
- # The namespace for the SearchedByDestination API:
53
- #
54
- # @return
55
- # [Amadeus::Namespaces::Travel::Analytics::AirTraffic::SearchedByDestination]
56
- # @example
57
- # amadeus.travel.analytics.air_traffic.searched_by_destination
58
- def searched_by_destination
59
- Amadeus::Namespaces::Travel::Analytics::AirTraffic::SearchedByDestination
60
- .new(client)
61
- end
62
-
63
40
  # The namespace for the Busiest Period API:
64
41
  #
65
42
  # @return
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Amadeus
4
+ module Namespaces
5
+ class Travel
6
+ # A namespaced client for the
7
+ # +/v1/travel/predictions+ endpoints
8
+ #
9
+ # Access via the +Amadeus::Client+ object
10
+ #
11
+ # amadeus = Amadeus::Client.new
12
+ # amadeus.travel.predictions
13
+ #
14
+ class Predictions < Amadeus::Client::Decorator
15
+ # The namespace for the travel Predictions APIs:
16
+ #
17
+ # @return [Amadeus::Namespaces::Travel::Predictions]
18
+ # @example
19
+ # amadeus.travel.predictions.trip_purpose
20
+ #
21
+ def trip_purpose
22
+ Amadeus::Namespaces::Travel::Predictions::TripPurpose.new(client)
23
+ end
24
+
25
+ # The namespace for the travel Predictions APIs:
26
+ #
27
+ # @return [Amadeus::Namespaces::Travel::Predictions]
28
+ # @example
29
+ # amadeus.travel.predictions.flight_delay
30
+ #
31
+ def flight_delay
32
+ Amadeus::Namespaces::Travel::Predictions::FlightDelay.new(client)
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Amadeus
4
+ module Namespaces
5
+ class Travel
6
+ class Predictions
7
+ # A namespaced client for the
8
+ # +/v1/travel/predictions/flight_delay+ endpoints
9
+ #
10
+ # Access via the +Amadeus::Client+ object
11
+ #
12
+ # amadeus = Amadeus::Client.new
13
+ # amadeus.travel.predictions.flight_delay
14
+ #
15
+ class FlightDelay < Amadeus::Client::Decorator
16
+ # Forecast the chances for a flight to be delayed
17
+ # @option params [String] :originLocationCode the Airport IATA code from which
18
+ # the flight will depart. ``"NYC"``, for example for New York - required
19
+ # @option params [String] :destinationLocationCode the Airport IATA code to which
20
+ # the flight is going. ``"MAD"``, for example for Madrid - required
21
+ # @option params [String] :departureDate the date on which to fly out,
22
+ # in `YYYY-MM-DD` format - required
23
+ # @option params [String] :departureTime local time on which to fly out,
24
+ # in `HH:MM:SS` format - required
25
+ # @option params [String] :arrivalDate date on which the flight returns to the origin,
26
+ # in `YYYY-MM-DD` format - required
27
+ # @option params [String] :arrivalTime local time on which to fly out,
28
+ # in `HH:MM:SS` format - required
29
+ # @option params [String] :aircraftCode IATA aircraft code - required
30
+ # @option params [String] :carrierCode airline / carrier code - required
31
+ # @option params [String] :flightNumber flight number - required
32
+ # @option params [String] :duration flight duration,
33
+ # in `PnYnMnDTnHnMnS` format e.g. PT2H10M - required
34
+ # @return [Amadeus::Response] a parsed response
35
+ # @raise [Amadeus::Base] an exception if the call failed
36
+ # @example
37
+ # amadeus.travel.predictions.flight_delay.get(originLocationCode: 'NCE',
38
+ # destinationLocationCode: 'IST',
39
+ # departureDate: '2020-08-01',
40
+ # departureTime: '18:20:00',
41
+ # arrivalDate: '2020-08-01',
42
+ # arrivalTime: '22:15:00',
43
+ # aircraftCode: '321',
44
+ # carrierCode: 'TK',
45
+ # flightNumber: '1816',
46
+ # duration: 'PT31H10M')
47
+ #
48
+ def get(params = {})
49
+ client.get('/v1/travel/predictions/flight-delay', params)
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Amadeus
4
+ module Namespaces
5
+ class Travel
6
+ class Predictions
7
+ # A namespaced client for the
8
+ # +/v1/travel/predictions/trip_purpose+ endpoints
9
+ #
10
+ # Access via the +Amadeus::Client+ object
11
+ #
12
+ # amadeus = Amadeus::Client.new
13
+ # amadeus.travel.predictions.trip_purpose
14
+ #
15
+ class TripPurpose < Amadeus::Client::Decorator
16
+ # Predicts traveler purpose, Business or Leisure,
17
+ # with the probability in the context of search & shopping
18
+ # @option params [String] :originLocationCode the City/Airport IATA code from which
19
+ # the flight will depart. ``"NYC"``, for example for New York - required
20
+ # @option params [String] :destinationLocationCode the City/Airport IATA code to which
21
+ # the flight is going. ``"MAD"``, for example for Madrid - required
22
+ # @option params [String] :departureDate the date on which to fly out,
23
+ # in `YYYY-MM-DD` format - required
24
+ # @option params [String] :returnDate date on which the flight returns to the origin,
25
+ # in `YYYY-MM-DD` format - required
26
+ # @option params [String] :searchDate date on which the traveler performs the search,
27
+ # in `YYYY-MM-DD` format.
28
+ # If it is not specified the current date will be used - optional
29
+ # @return [Amadeus::Response] a parsed response
30
+ # @raise [Amadeus::Base] an exception if the call failed
31
+ # @example what is the name of airline code 'U2'
32
+ # amadeus.travel.predictions.trip_purpose.get(
33
+ # originLocationCode: 'NYC',
34
+ # destinationLocationCode: 'MAD',
35
+ # departureDate: '2020-08-01',
36
+ # returnDate: '2020-08-12',
37
+ # searchDate: '2020-06-11')
38
+ #
39
+ def get(params = {})
40
+ client.get('/v1/travel/predictions/trip-purpose', params)
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Amadeus
4
4
  # The current client version
5
- VERSION = '3.2.0'.freeze
5
+ VERSION = '5.2.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amadeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amadeus
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2019-05-28 00:00:00.000000000 Z
13
+ date: 2021-03-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: awesome_print
@@ -32,28 +32,28 @@ dependencies:
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: 2.0.1
35
+ version: 2.2.14
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: 2.0.1
42
+ version: 2.2.14
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: guard
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '2.14'
49
+ version: '2.16'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '2.14'
56
+ version: '2.16'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: guard-rake
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -88,14 +88,14 @@ dependencies:
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '12.3'
91
+ version: 12.3.1
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '12.3'
98
+ version: 12.3.1
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: rb-readline
101
101
  requirement: !ruby/object:Gem::Requirement
@@ -116,84 +116,84 @@ dependencies:
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '3.7'
119
+ version: '3.9'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: '3.7'
126
+ version: '3.9'
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: rubocop
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: '0.59'
133
+ version: '0.79'
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
- version: '0.59'
140
+ version: '0.79'
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: simplecov
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: '0.15'
147
+ version: '0.18'
148
148
  type: :development
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - "~>"
153
153
  - !ruby/object:Gem::Version
154
- version: '0.15'
154
+ version: '0.18'
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: vcr
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - "~>"
160
160
  - !ruby/object:Gem::Version
161
- version: '4.0'
161
+ version: '5.1'
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - "~>"
167
167
  - !ruby/object:Gem::Version
168
- version: '4.0'
168
+ version: '5.1'
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: webmock
171
171
  requirement: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - "~>"
174
174
  - !ruby/object:Gem::Version
175
- version: '3.3'
175
+ version: '3.8'
176
176
  type: :development
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - "~>"
181
181
  - !ruby/object:Gem::Version
182
- version: '3.3'
182
+ version: '3.8'
183
183
  - !ruby/object:Gem::Dependency
184
184
  name: yard
185
185
  requirement: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - "~>"
188
188
  - !ruby/object:Gem::Version
189
- version: 0.9.12
189
+ version: 0.9.24
190
190
  type: :development
191
191
  prerelease: false
192
192
  version_requirements: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - "~>"
195
195
  - !ruby/object:Gem::Version
196
- version: 0.9.12
196
+ version: 0.9.24
197
197
  description: |2
198
198
  Ruby library for the Amadeus travel APIs, providing hotel, flight, airport,
199
199
  and other travel related APIs.
@@ -224,21 +224,35 @@ files:
224
224
  - lib/amadeus/client/response.rb
225
225
  - lib/amadeus/client/response/parser.rb
226
226
  - lib/amadeus/client/validator.rb
227
+ - lib/amadeus/namespaces/airport.rb
228
+ - lib/amadeus/namespaces/airport/predictions.rb
229
+ - lib/amadeus/namespaces/airport/predictions/on_time.rb
230
+ - lib/amadeus/namespaces/analytics.rb
231
+ - lib/amadeus/namespaces/analytics/itinerary_price_metrics.rb
232
+ - lib/amadeus/namespaces/booking.rb
233
+ - lib/amadeus/namespaces/booking/hotel_bookings.rb
227
234
  - lib/amadeus/namespaces/core.rb
235
+ - lib/amadeus/namespaces/e_reputation.rb
236
+ - lib/amadeus/namespaces/e_reputation/hotel_sentiments.rb
228
237
  - lib/amadeus/namespaces/reference_data.rb
229
238
  - lib/amadeus/namespaces/reference_data/airlines.rb
230
239
  - lib/amadeus/namespaces/reference_data/location.rb
231
240
  - lib/amadeus/namespaces/reference_data/locations.rb
232
241
  - lib/amadeus/namespaces/reference_data/locations/airports.rb
242
+ - lib/amadeus/namespaces/reference_data/locations/point_of_interest.rb
233
243
  - lib/amadeus/namespaces/reference_data/locations/points_of_interest.rb
234
244
  - lib/amadeus/namespaces/reference_data/locations/points_of_interest/by_square.rb
235
245
  - lib/amadeus/namespaces/reference_data/urls.rb
236
246
  - lib/amadeus/namespaces/reference_data/urls/checkin_links.rb
247
+ - lib/amadeus/namespaces/safety.rb
248
+ - lib/amadeus/namespaces/safety/safety_rated_location.rb
249
+ - lib/amadeus/namespaces/safety/safety_rated_locations.rb
250
+ - lib/amadeus/namespaces/safety/safety_rated_locations/by_square.rb
237
251
  - lib/amadeus/namespaces/shopping.rb
238
252
  - lib/amadeus/namespaces/shopping/flight_dates.rb
239
253
  - lib/amadeus/namespaces/shopping/flight_destinations.rb
240
- - lib/amadeus/namespaces/shopping/flight_offers.rb
241
- - lib/amadeus/namespaces/shopping/flight_offers/prediction.rb
254
+ - lib/amadeus/namespaces/shopping/flight_offers_search.rb
255
+ - lib/amadeus/namespaces/shopping/flight_offers_search/prediction.rb
242
256
  - lib/amadeus/namespaces/shopping/hotel_offer.rb
243
257
  - lib/amadeus/namespaces/shopping/hotel_offers.rb
244
258
  - lib/amadeus/namespaces/shopping/hotel_offers_by_hotel.rb
@@ -247,9 +261,10 @@ files:
247
261
  - lib/amadeus/namespaces/travel/analytics/air_traffic.rb
248
262
  - lib/amadeus/namespaces/travel/analytics/air_traffic/booked.rb
249
263
  - lib/amadeus/namespaces/travel/analytics/air_traffic/busiest_period.rb
250
- - lib/amadeus/namespaces/travel/analytics/air_traffic/searched.rb
251
- - lib/amadeus/namespaces/travel/analytics/air_traffic/searched_by_destination.rb
252
264
  - lib/amadeus/namespaces/travel/analytics/air_traffic/traveled.rb
265
+ - lib/amadeus/namespaces/travel/predictions.rb
266
+ - lib/amadeus/namespaces/travel/predictions/flight_delay.rb
267
+ - lib/amadeus/namespaces/travel/predictions/trip_purpose.rb
253
268
  - lib/amadeus/version.rb
254
269
  homepage: https://github.com/amadeus4dev/amadeus-ruby
255
270
  licenses:
@@ -263,14 +278,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
263
278
  requirements:
264
279
  - - ">="
265
280
  - !ruby/object:Gem::Version
266
- version: 2.2.0
281
+ version: 2.4.0
267
282
  required_rubygems_version: !ruby/object:Gem::Requirement
268
283
  requirements:
269
284
  - - ">="
270
285
  - !ruby/object:Gem::Version
271
286
  version: '0'
272
287
  requirements: []
273
- rubygems_version: 3.0.3
288
+ rubygems_version: 3.0.8
274
289
  signing_key:
275
290
  specification_version: 4
276
291
  summary: Amadeus travel APIs