quicktravel_client 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +25 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +13 -0
  5. data/.ruby-version +1 -0
  6. data/.travis.yml +18 -0
  7. data/Gemfile +5 -0
  8. data/LICENSE +22 -0
  9. data/README.md +17 -0
  10. data/Rakefile +18 -0
  11. data/bootstrap/boot.rb +4 -0
  12. data/examples/example_config.rb +4 -0
  13. data/examples/login_example.rb +25 -0
  14. data/lib/extensions.rb +12 -0
  15. data/lib/quick_travel/accommodation.rb +72 -0
  16. data/lib/quick_travel/adapter.rb +283 -0
  17. data/lib/quick_travel/adapter_exception.rb +20 -0
  18. data/lib/quick_travel/address.rb +27 -0
  19. data/lib/quick_travel/adjustment.rb +8 -0
  20. data/lib/quick_travel/background_check.rb +9 -0
  21. data/lib/quick_travel/bed_configuration.rb +7 -0
  22. data/lib/quick_travel/bed_requirement.rb +7 -0
  23. data/lib/quick_travel/booking.rb +370 -0
  24. data/lib/quick_travel/cache.rb +38 -0
  25. data/lib/quick_travel/client.rb +8 -0
  26. data/lib/quick_travel/client_type.rb +6 -0
  27. data/lib/quick_travel/config.rb +26 -0
  28. data/lib/quick_travel/connection_error.rb +9 -0
  29. data/lib/quick_travel/constants.rb +16 -0
  30. data/lib/quick_travel/contact.rb +5 -0
  31. data/lib/quick_travel/country.rb +11 -0
  32. data/lib/quick_travel/credit_card.rb +12 -0
  33. data/lib/quick_travel/discounts/booking_discount.rb +18 -0
  34. data/lib/quick_travel/discounts/discount.rb +21 -0
  35. data/lib/quick_travel/discounts/discount_tree.rb +35 -0
  36. data/lib/quick_travel/discounts.rb +3 -0
  37. data/lib/quick_travel/document.rb +20 -0
  38. data/lib/quick_travel/document_group.rb +14 -0
  39. data/lib/quick_travel/encrypt.rb +13 -0
  40. data/lib/quick_travel/graphic.rb +18 -0
  41. data/lib/quick_travel/init_from_hash.rb +16 -0
  42. data/lib/quick_travel/location.rb +14 -0
  43. data/lib/quick_travel/mock.rb +41 -0
  44. data/lib/quick_travel/party.rb +49 -0
  45. data/lib/quick_travel/passenger.rb +7 -0
  46. data/lib/quick_travel/passenger_price_break.rb +8 -0
  47. data/lib/quick_travel/passenger_type.rb +21 -0
  48. data/lib/quick_travel/payment.rb +41 -0
  49. data/lib/quick_travel/payment_type.rb +37 -0
  50. data/lib/quick_travel/price.rb +14 -0
  51. data/lib/quick_travel/product.rb +165 -0
  52. data/lib/quick_travel/product_configuration.rb +134 -0
  53. data/lib/quick_travel/product_passenger_search_criteria.rb +28 -0
  54. data/lib/quick_travel/product_type.rb +28 -0
  55. data/lib/quick_travel/property.rb +99 -0
  56. data/lib/quick_travel/property_facility.rb +7 -0
  57. data/lib/quick_travel/property_type.rb +20 -0
  58. data/lib/quick_travel/region.rb +21 -0
  59. data/lib/quick_travel/reservation.rb +110 -0
  60. data/lib/quick_travel/resource.rb +50 -0
  61. data/lib/quick_travel/room_facility.rb +7 -0
  62. data/lib/quick_travel/route.rb +81 -0
  63. data/lib/quick_travel/route_stop.rb +7 -0
  64. data/lib/quick_travel/search.rb +14 -0
  65. data/lib/quick_travel/service.rb +5 -0
  66. data/lib/quick_travel/trip.rb +8 -0
  67. data/lib/quick_travel/vehicle.rb +17 -0
  68. data/lib/quick_travel/vehicle_type.rb +11 -0
  69. data/lib/quick_travel/version.rb +3 -0
  70. data/lib/quick_travel.rb +59 -0
  71. data/lib/quicktravel_client.rb +1 -0
  72. data/quicktravel_client.gemspec +37 -0
  73. data/spec/booking_spec.rb +107 -0
  74. data/spec/country_spec.rb +18 -0
  75. data/spec/credit_card_spec.rb +11 -0
  76. data/spec/discounts_spec.rb +121 -0
  77. data/spec/passenger_type_spec.rb +32 -0
  78. data/spec/payment_type_spec.rb +18 -0
  79. data/spec/product_spec.rb +82 -0
  80. data/spec/region_spec.rb +29 -0
  81. data/spec/reservation_spec.rb +50 -0
  82. data/spec/resource_spec.rb +22 -0
  83. data/spec/spec_helper.rb +77 -0
  84. data/spec/support/cassettes/booking_create.yml +50 -0
  85. data/spec/support/cassettes/booking_create_legacy.yml +50 -0
  86. data/spec/support/cassettes/booking_discounts.yml +53 -0
  87. data/spec/support/cassettes/booking_documents.yml +48 -0
  88. data/spec/support/cassettes/booking_show.yml +49 -0
  89. data/spec/support/cassettes/booking_update.yml +94 -0
  90. data/spec/support/cassettes/booking_with_discounts.yml +72 -0
  91. data/spec/support/cassettes/booking_with_documents.yml +117 -0
  92. data/spec/support/cassettes/booking_with_nested_attributes.yml +187 -0
  93. data/spec/support/cassettes/country_all.yml +127 -0
  94. data/spec/support/cassettes/create_reservation_fail.yml +47 -0
  95. data/spec/support/cassettes/create_reservation_with_booking.yml +53 -0
  96. data/spec/support/cassettes/passenger_all.yml +48 -0
  97. data/spec/support/cassettes/product_date_range_bookability.yml +118 -0
  98. data/spec/support/cassettes/product_show.yml +52 -0
  99. data/spec/support/cassettes/region_index.yml +48 -0
  100. data/spec/support/cassettes/region_show.yml +48 -0
  101. data/spec/support/cassettes/reservation_with_extra_picks.yml +165 -0
  102. data/spec/support/cassettes/resource_fare_bases.yml +97 -0
  103. data/spec/support/cassettes/resource_show.yml +50 -0
  104. metadata +421 -0
@@ -0,0 +1,97 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://0.0.0.0:8080/resources.json?parent_resource_id=6
6
+ body:
7
+ encoding: US-ASCII
8
+ string: access_key=<QT_KEY>
9
+ headers:
10
+ content-length:
11
+ - '0'
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ! 'OK '
16
+ headers:
17
+ p3p:
18
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ x-ua-compatible:
22
+ - IE=Edge,chrome=1
23
+ etag:
24
+ - ! '"9e3d741671888b92c23d5d9ed9847fa8"'
25
+ cache-control:
26
+ - max-age=0, private, must-revalidate
27
+ x-request-id:
28
+ - b2792dffd6108715e79f581fadda4493
29
+ x-runtime:
30
+ - '0.132300'
31
+ date:
32
+ - Thu, 28 Feb 2013 13:34:09 GMT
33
+ x-rack-cache:
34
+ - miss
35
+ server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ content-length:
38
+ - '3065'
39
+ connection:
40
+ - close
41
+ set-cookie:
42
+ - _session_id=01ce77a09ac8d80e3d1de61f9a416c4a; path=/; HttpOnly
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! '[{"id":3,"name":"QBE Travel Insurance - Policy E","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"location_id":null,"property_id":null,"fare_basis_pointer_id":4,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"booking_notes":"QBE
46
+ Travel Insurance Policy E covers the clients up to $1000 for defined unforeseen
47
+ cancellations and additional expenses.","expiry_units":null,"uses":null,"inline_price_in_cents":null,"inline_cost_in_cents":null,"expiry_level":null,"unlimited_uses":false,"no_expiry":false,"reason_required":false,"resource_category_id":null,"created_at":"2014-09-12T17:10:47+09:30","updated_at":"2014-09-12T17:10:55+09:30","code":"","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":19,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":false,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":null,"vehicle_ticket_format_id":null,"passenger_ticket_format_id":null,"reservation_ticket_format_id":null,"frequent_traveller_redemption_rate":null,"client_type_ids":[],"category":null,"location":"","current_description":"","graphics":[],"graphic_names":[]},{"id":4,"name":"Travel
48
+ Insurance - Declined","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"location_id":null,"property_id":null,"fare_basis_pointer_id":4,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"booking_notes":"This
49
+ is only to be used if the clients have declined Travel Insurance.","expiry_units":null,"uses":null,"inline_price_in_cents":null,"inline_cost_in_cents":null,"expiry_level":null,"unlimited_uses":false,"no_expiry":false,"reason_required":false,"resource_category_id":null,"created_at":"2014-09-12T17:12:11+09:30","updated_at":"2013-03-01T00:17:12+10:30","code":"","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":false,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":null,"vehicle_ticket_format_id":null,"passenger_ticket_format_id":null,"reservation_ticket_format_id":null,"frequent_traveller_redemption_rate":null,"client_type_ids":[],"category":null,"location":"","current_description":"","graphics":[],"graphic_names":[]}]'
50
+ http_version: '1.1'
51
+ recorded_at: Thu, 18 Dec 2014 08:01:33 GMT
52
+ - request:
53
+ method: get
54
+ uri: http://0.0.0.0:8080/api/fare_bases.json?fare_basis_pointer_id[]=4&fare_basis_pointer_id[]=4
55
+ body:
56
+ encoding: US-ASCII
57
+ string: access_key=<QT_KEY>
58
+ headers:
59
+ content-length:
60
+ - '0'
61
+ response:
62
+ status:
63
+ code: 200
64
+ message: ! 'OK '
65
+ headers:
66
+ p3p:
67
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
68
+ content-type:
69
+ - application/json; charset=utf-8
70
+ x-ua-compatible:
71
+ - IE=Edge,chrome=1
72
+ etag:
73
+ - ! '"e3dd48e30aa7bcf81a4d874772465bc6"'
74
+ cache-control:
75
+ - max-age=0, private, must-revalidate
76
+ x-request-id:
77
+ - e45380c6997bf02486a3ad43dd56821f
78
+ x-runtime:
79
+ - '0.146592'
80
+ date:
81
+ - Thu, 28 Feb 2013 13:34:09 GMT
82
+ x-rack-cache:
83
+ - miss
84
+ server:
85
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
86
+ content-length:
87
+ - '6'
88
+ connection:
89
+ - close
90
+ set-cookie:
91
+ - _session_id=560e503455bd22baf5afa2dc9b8a7b7e; path=/; HttpOnly
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ! '[null]'
95
+ http_version: '1.1'
96
+ recorded_at: Thu, 18 Dec 2014 08:01:33 GMT
97
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://0.0.0.0:8080/resources/6.json?
6
+ body:
7
+ encoding: US-ASCII
8
+ string: access_key=<QT_KEY>
9
+ headers:
10
+ content-length:
11
+ - '0'
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ! 'OK '
16
+ headers:
17
+ p3p:
18
+ - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
19
+ content-type:
20
+ - application/json; charset=utf-8
21
+ x-ua-compatible:
22
+ - IE=Edge,chrome=1
23
+ etag:
24
+ - ! '"597948cd4b4de4495bfbdf7274a6923d"'
25
+ cache-control:
26
+ - max-age=0, private, must-revalidate
27
+ x-request-id:
28
+ - 1c14aa89d7ff2b87dab94f3ace899c5a
29
+ x-runtime:
30
+ - '0.028282'
31
+ date:
32
+ - Thu, 28 Feb 2013 14:28:22 GMT
33
+ x-rack-cache:
34
+ - miss
35
+ server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ content-length:
38
+ - '1499'
39
+ connection:
40
+ - close
41
+ set-cookie:
42
+ - _session_id=68a0c30f91cf8e0b5990d8a37581b6ae; path=/; HttpOnly
43
+ body:
44
+ encoding: US-ASCII
45
+ string: ! '{"id":6,"name":"Executive Room","product_type_id":2,"default_capacity":2,"type":"Accommodation","inventory_type":0,"maximum_occupancy":2,"location_id":1,"property_id":1,"fare_basis_pointer_id":6,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":1,"star_rating":null,"booking_notes":"","expiry_units":null,"uses":null,"inline_price_in_cents":null,"inline_cost_in_cents":null,"expiry_level":null,"unlimited_uses":false,"no_expiry":false,"reason_required":false,"resource_category_id":null,"created_at":"2013-03-01T00:08:49+10:30","updated_at":"2013-03-01T00:55:56+10:30","code":"","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":false,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":null,"vehicle_ticket_format_id":null,"passenger_ticket_format_id":null,"reservation_ticket_format_id":null,"frequent_traveller_redemption_rate":null,"client_type_ids":[],"category":null,"location":"Adelaide
46
+ CBD","current_description":"\u003Cp\u003EA basic studio room\u003C/p\u003E","graphics":[],"graphic_names":[],"property_name":"Hilton
47
+ Hotel"}'
48
+ http_version: '1.1'
49
+ recorded_at: Thu, 18 Dec 2014 07:45:12 GMT
50
+ recorded_with: VCR 2.9.3
metadata ADDED
@@ -0,0 +1,421 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: quicktravel_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Michael Noack
8
+ - Adam Davies
9
+ - Alessandro Berardi
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2015-06-01 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: httparty
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: geokit
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: 1.8.3
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: 1.8.3
43
+ - !ruby/object:Gem::Dependency
44
+ name: activesupport
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 2.0.0
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.0.0
57
+ - !ruby/object:Gem::Dependency
58
+ name: money_extensions
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :runtime
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: facets
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: money
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '3.0'
92
+ - - "<"
93
+ - !ruby/object:Gem::Version
94
+ version: '6.0'
95
+ type: :runtime
96
+ prerelease: false
97
+ version_requirements: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '3.0'
102
+ - - "<"
103
+ - !ruby/object:Gem::Version
104
+ version: '6.0'
105
+ - !ruby/object:Gem::Dependency
106
+ name: bundler
107
+ requirement: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '1.7'
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '1.7'
119
+ - !ruby/object:Gem::Dependency
120
+ name: rake
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ type: :development
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ - !ruby/object:Gem::Dependency
134
+ name: rspec
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ type: :development
141
+ prerelease: false
142
+ version_requirements: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ - !ruby/object:Gem::Dependency
148
+ name: rspec-its
149
+ requirement: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ type: :development
155
+ prerelease: false
156
+ version_requirements: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ - !ruby/object:Gem::Dependency
162
+ name: simplecov
163
+ requirement: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ type: :development
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ - !ruby/object:Gem::Dependency
176
+ name: simplecov-rcov
177
+ requirement: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ - !ruby/object:Gem::Dependency
190
+ name: coveralls
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ type: :development
197
+ prerelease: false
198
+ version_requirements: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ - !ruby/object:Gem::Dependency
204
+ name: stamp
205
+ requirement: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ type: :development
211
+ prerelease: false
212
+ version_requirements: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ - !ruby/object:Gem::Dependency
218
+ name: vcr
219
+ requirement: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ type: :development
225
+ prerelease: false
226
+ version_requirements: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ - !ruby/object:Gem::Dependency
232
+ name: fakeweb
233
+ requirement: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ type: :development
239
+ prerelease: false
240
+ version_requirements: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ - !ruby/object:Gem::Dependency
246
+ name: rubocop
247
+ requirement: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ type: :development
253
+ prerelease: false
254
+ version_requirements: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - ">="
257
+ - !ruby/object:Gem::Version
258
+ version: '0'
259
+ description: For integrating with QuickTravel API
260
+ email: support@travellink.com.au
261
+ executables: []
262
+ extensions: []
263
+ extra_rdoc_files: []
264
+ files:
265
+ - ".gitignore"
266
+ - ".rspec"
267
+ - ".rubocop.yml"
268
+ - ".ruby-version"
269
+ - ".travis.yml"
270
+ - Gemfile
271
+ - LICENSE
272
+ - README.md
273
+ - Rakefile
274
+ - bootstrap/boot.rb
275
+ - examples/example_config.rb
276
+ - examples/login_example.rb
277
+ - lib/extensions.rb
278
+ - lib/quick_travel.rb
279
+ - lib/quick_travel/accommodation.rb
280
+ - lib/quick_travel/adapter.rb
281
+ - lib/quick_travel/adapter_exception.rb
282
+ - lib/quick_travel/address.rb
283
+ - lib/quick_travel/adjustment.rb
284
+ - lib/quick_travel/background_check.rb
285
+ - lib/quick_travel/bed_configuration.rb
286
+ - lib/quick_travel/bed_requirement.rb
287
+ - lib/quick_travel/booking.rb
288
+ - lib/quick_travel/cache.rb
289
+ - lib/quick_travel/client.rb
290
+ - lib/quick_travel/client_type.rb
291
+ - lib/quick_travel/config.rb
292
+ - lib/quick_travel/connection_error.rb
293
+ - lib/quick_travel/constants.rb
294
+ - lib/quick_travel/contact.rb
295
+ - lib/quick_travel/country.rb
296
+ - lib/quick_travel/credit_card.rb
297
+ - lib/quick_travel/discounts.rb
298
+ - lib/quick_travel/discounts/booking_discount.rb
299
+ - lib/quick_travel/discounts/discount.rb
300
+ - lib/quick_travel/discounts/discount_tree.rb
301
+ - lib/quick_travel/document.rb
302
+ - lib/quick_travel/document_group.rb
303
+ - lib/quick_travel/encrypt.rb
304
+ - lib/quick_travel/graphic.rb
305
+ - lib/quick_travel/init_from_hash.rb
306
+ - lib/quick_travel/location.rb
307
+ - lib/quick_travel/mock.rb
308
+ - lib/quick_travel/party.rb
309
+ - lib/quick_travel/passenger.rb
310
+ - lib/quick_travel/passenger_price_break.rb
311
+ - lib/quick_travel/passenger_type.rb
312
+ - lib/quick_travel/payment.rb
313
+ - lib/quick_travel/payment_type.rb
314
+ - lib/quick_travel/price.rb
315
+ - lib/quick_travel/product.rb
316
+ - lib/quick_travel/product_configuration.rb
317
+ - lib/quick_travel/product_passenger_search_criteria.rb
318
+ - lib/quick_travel/product_type.rb
319
+ - lib/quick_travel/property.rb
320
+ - lib/quick_travel/property_facility.rb
321
+ - lib/quick_travel/property_type.rb
322
+ - lib/quick_travel/region.rb
323
+ - lib/quick_travel/reservation.rb
324
+ - lib/quick_travel/resource.rb
325
+ - lib/quick_travel/room_facility.rb
326
+ - lib/quick_travel/route.rb
327
+ - lib/quick_travel/route_stop.rb
328
+ - lib/quick_travel/search.rb
329
+ - lib/quick_travel/service.rb
330
+ - lib/quick_travel/trip.rb
331
+ - lib/quick_travel/vehicle.rb
332
+ - lib/quick_travel/vehicle_type.rb
333
+ - lib/quick_travel/version.rb
334
+ - lib/quicktravel_client.rb
335
+ - quicktravel_client.gemspec
336
+ - spec/booking_spec.rb
337
+ - spec/country_spec.rb
338
+ - spec/credit_card_spec.rb
339
+ - spec/discounts_spec.rb
340
+ - spec/passenger_type_spec.rb
341
+ - spec/payment_type_spec.rb
342
+ - spec/product_spec.rb
343
+ - spec/region_spec.rb
344
+ - spec/reservation_spec.rb
345
+ - spec/resource_spec.rb
346
+ - spec/spec_helper.rb
347
+ - spec/support/cassettes/booking_create.yml
348
+ - spec/support/cassettes/booking_create_legacy.yml
349
+ - spec/support/cassettes/booking_discounts.yml
350
+ - spec/support/cassettes/booking_documents.yml
351
+ - spec/support/cassettes/booking_show.yml
352
+ - spec/support/cassettes/booking_update.yml
353
+ - spec/support/cassettes/booking_with_discounts.yml
354
+ - spec/support/cassettes/booking_with_documents.yml
355
+ - spec/support/cassettes/booking_with_nested_attributes.yml
356
+ - spec/support/cassettes/country_all.yml
357
+ - spec/support/cassettes/create_reservation_fail.yml
358
+ - spec/support/cassettes/create_reservation_with_booking.yml
359
+ - spec/support/cassettes/passenger_all.yml
360
+ - spec/support/cassettes/product_date_range_bookability.yml
361
+ - spec/support/cassettes/product_show.yml
362
+ - spec/support/cassettes/region_index.yml
363
+ - spec/support/cassettes/region_show.yml
364
+ - spec/support/cassettes/reservation_with_extra_picks.yml
365
+ - spec/support/cassettes/resource_fare_bases.yml
366
+ - spec/support/cassettes/resource_show.yml
367
+ homepage: https://bitbucket.org/team-sealink/quicktravel_client
368
+ licenses: []
369
+ metadata: {}
370
+ post_install_message:
371
+ rdoc_options: []
372
+ require_paths:
373
+ - lib
374
+ required_ruby_version: !ruby/object:Gem::Requirement
375
+ requirements:
376
+ - - ">="
377
+ - !ruby/object:Gem::Version
378
+ version: '0'
379
+ required_rubygems_version: !ruby/object:Gem::Requirement
380
+ requirements:
381
+ - - ">="
382
+ - !ruby/object:Gem::Version
383
+ version: '0'
384
+ requirements: []
385
+ rubyforge_project:
386
+ rubygems_version: 2.2.2
387
+ signing_key:
388
+ specification_version: 4
389
+ summary: Booking process using QuickTravel API
390
+ test_files:
391
+ - spec/booking_spec.rb
392
+ - spec/country_spec.rb
393
+ - spec/credit_card_spec.rb
394
+ - spec/discounts_spec.rb
395
+ - spec/passenger_type_spec.rb
396
+ - spec/payment_type_spec.rb
397
+ - spec/product_spec.rb
398
+ - spec/region_spec.rb
399
+ - spec/reservation_spec.rb
400
+ - spec/resource_spec.rb
401
+ - spec/spec_helper.rb
402
+ - spec/support/cassettes/booking_create.yml
403
+ - spec/support/cassettes/booking_create_legacy.yml
404
+ - spec/support/cassettes/booking_discounts.yml
405
+ - spec/support/cassettes/booking_documents.yml
406
+ - spec/support/cassettes/booking_show.yml
407
+ - spec/support/cassettes/booking_update.yml
408
+ - spec/support/cassettes/booking_with_discounts.yml
409
+ - spec/support/cassettes/booking_with_documents.yml
410
+ - spec/support/cassettes/booking_with_nested_attributes.yml
411
+ - spec/support/cassettes/country_all.yml
412
+ - spec/support/cassettes/create_reservation_fail.yml
413
+ - spec/support/cassettes/create_reservation_with_booking.yml
414
+ - spec/support/cassettes/passenger_all.yml
415
+ - spec/support/cassettes/product_date_range_bookability.yml
416
+ - spec/support/cassettes/product_show.yml
417
+ - spec/support/cassettes/region_index.yml
418
+ - spec/support/cassettes/region_show.yml
419
+ - spec/support/cassettes/reservation_with_extra_picks.yml
420
+ - spec/support/cassettes/resource_fare_bases.yml
421
+ - spec/support/cassettes/resource_show.yml