quicktravel_client 3.6.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +6 -3
- data/CHANGELOG.md +36 -3
- data/README.md +1 -1
- data/gemfiles/rails6.gemfile +8 -0
- data/lib/quick_travel.rb +4 -0
- data/lib/quick_travel/adapter.rb +19 -81
- data/lib/quick_travel/address.rb +4 -2
- data/lib/quick_travel/adjustment.rb +3 -2
- data/lib/quick_travel/background_check.rb +4 -2
- data/lib/quick_travel/bed_configuration.rb +3 -2
- data/lib/quick_travel/bed_requirement.rb +3 -2
- data/lib/quick_travel/booking.rb +11 -1
- data/lib/quick_travel/cache.rb +24 -5
- data/lib/quick_travel/checkout.rb +1 -1
- data/lib/quick_travel/client.rb +9 -0
- data/lib/quick_travel/contact.rb +4 -1
- data/lib/quick_travel/init_from_hash.rb +58 -1
- data/lib/quick_travel/package.rb +13 -0
- data/lib/quick_travel/passenger.rb +7 -2
- data/lib/quick_travel/passenger_price_break.rb +3 -2
- data/lib/quick_travel/passenger_split.rb +5 -0
- data/lib/quick_travel/passenger_type.rb +1 -1
- data/lib/quick_travel/product_configuration.rb +1 -1
- data/lib/quick_travel/products/base.rb +4 -4
- data/lib/quick_travel/property.rb +2 -1
- data/lib/quick_travel/property_facility.rb +3 -2
- data/lib/quick_travel/reservation.rb +5 -1
- data/lib/quick_travel/resource.rb +12 -3
- data/lib/quick_travel/resource_category.rb +5 -1
- data/lib/quick_travel/resource_group.rb +9 -0
- data/lib/quick_travel/room_facility.rb +3 -2
- data/lib/quick_travel/route.rb +1 -1
- data/lib/quick_travel/route_stop.rb +18 -2
- data/lib/quick_travel/service.rb +3 -2
- data/lib/quick_travel/version.rb +1 -1
- data/quicktravel_client.gemspec +6 -5
- data/spec/adapter_spec.rb +36 -5
- data/spec/booking_spec.rb +24 -6
- data/spec/clients_spec.rb +42 -0
- data/spec/discounts_spec.rb +21 -21
- data/spec/package_spec.rb +24 -0
- data/spec/passenger_type_spec.rb +1 -1
- data/spec/product_configuration_spec.rb +11 -0
- data/spec/product_spec.rb +5 -5
- data/spec/region_spec.rb +2 -2
- data/spec/reservation_spec.rb +22 -6
- data/spec/spec_helper.rb +6 -3
- data/spec/support/cassettes/accommodation_reserve.yml +119 -53
- data/spec/support/cassettes/basic_product_scheduled_trips.yml +22 -34
- data/spec/support/cassettes/basic_product_scheduled_trips_multi_sector.yml +22 -28
- data/spec/support/cassettes/basic_product_scheduled_trips_unbookable.yml +12 -12
- data/spec/support/cassettes/booking_activate.yml +31 -30
- data/spec/support/cassettes/booking_cancel.yml +31 -30
- data/spec/support/cassettes/booking_create.yml +17 -16
- data/spec/support/cassettes/booking_create_accommodation.yml +64 -0
- data/spec/support/cassettes/booking_documents.yml +12 -12
- data/spec/support/cassettes/booking_non_existant.yml +11 -11
- data/spec/support/cassettes/booking_price_changes.yml +22 -18
- data/spec/support/cassettes/booking_show.yml +16 -15
- data/spec/support/cassettes/booking_update.yml +31 -29
- data/spec/support/cassettes/booking_with_comments.yml +119 -0
- data/spec/support/cassettes/booking_with_documents.yml +41 -38
- data/spec/support/cassettes/booking_with_nested_attributes.yml +70 -64
- data/spec/support/cassettes/booking_with_price_changes.yml +30 -27
- data/spec/support/cassettes/checkout_client_token.yml +14 -14
- data/spec/support/cassettes/client_templates.yml +120 -0
- data/spec/support/cassettes/countries.yml +18 -94
- data/spec/support/cassettes/country_all.yml +18 -94
- data/spec/support/cassettes/create_reservation_fail.yml +11 -11
- data/spec/support/cassettes/create_reservation_with_booking.yml +18 -17
- data/spec/support/cassettes/locations.yml +15 -15
- data/spec/support/cassettes/opal_modern_pay_failed_booking.yml +64 -0
- data/spec/support/cassettes/opal_modern_pay_failed_create.yml +61 -0
- data/spec/support/cassettes/opal_modern_pay_failed_update.yml +59 -0
- data/spec/support/cassettes/opal_modern_pay_successful_booking.yml +64 -0
- data/spec/support/cassettes/opal_modern_pay_successful_response.yml +61 -0
- data/spec/support/cassettes/opal_modern_pay_successful_update_response.yml +61 -0
- data/spec/support/cassettes/opal_pay.yml +61 -0
- data/spec/support/cassettes/opal_pay_booking.yml +64 -0
- data/spec/support/cassettes/package_show.yml +83 -0
- data/spec/support/cassettes/package_show_product_type.yml +80 -0
- data/spec/support/cassettes/passenger_all.yml +14 -14
- data/spec/support/cassettes/payment_info.yml +12 -12
- data/spec/support/cassettes/price_quote.yml +23 -23
- data/spec/support/cassettes/product_date_range_bookability.yml +35 -49
- data/spec/support/cassettes/product_show.yml +16 -18
- data/spec/support/cassettes/product_show_as_agent.yml +17 -23
- data/spec/support/cassettes/product_type_all.yml +19 -15
- data/spec/support/cassettes/product_type_resource_categories.yml +12 -12
- data/spec/support/cassettes/product_type_resource_categories_tickets.yml +15 -15
- data/spec/support/cassettes/product_type_routes.yml +17 -17
- data/spec/support/cassettes/property.yml +19 -19
- data/spec/support/cassettes/property_types.yml +15 -15
- data/spec/support/cassettes/region_show.yml +14 -14
- data/spec/support/cassettes/reservation_resource.yml +64 -0
- data/spec/support/cassettes/reservation_with_extra_picks.yml +63 -63
- data/spec/support/cassettes/resource_category_all.yml +15 -15
- data/spec/support/cassettes/resource_category_all_for_product_type_8.yml +14 -14
- data/spec/support/cassettes/resource_fare_bases.yml +21 -24
- data/spec/support/cassettes/resource_show.yml +18 -18
- data/spec/support/cassettes/resource_with_price.yml +19 -19
- data/spec/support/cassettes/settings_basic.yml +12 -12
- data/spec/support/cassettes/tenant_switcher.yml +37 -29
- data/spec/support/cassettes/wrong_url.yml +28 -47
- data/spec/support/coverage_loader.rb +1 -1
- metadata +69 -27
- data/gemfiles/rails4.gemfile +0 -9
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/checkouts/modern-opal-uid.json
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: gateway_response[raw_response]=%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22CardNumber%22%3A%203085227007682330%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22CardBalance%22%3A%206546%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22CardSequenceNumber%22%3A%2055%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22CILAmount%22%3A%200%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22AuthorizedAmount%22%3A%20890%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22SalesReferenceNumber%22%3A%2053183943%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22TransactionDTM%22%3A%20%222018-01-04T09%3A00%3A43.106%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22TransactionReferenceNumber%22%3A%201271099697%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22CardBlockState%22%3A%20false%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22AutoloadAmount%22%3A%200%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D&gateway_response[success]=true&gateway_response[meta_data][applicationInstanceId]=101166&gateway_response[meta_data][operatorId]=an_operator
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
X-API-KEY:
|
13
|
+
- <QT_KEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: 'OK '
|
18
|
+
headers:
|
19
|
+
P3p:
|
20
|
+
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Etag:
|
24
|
+
- W/"e326e290336b4fd5ec10660641d17791"
|
25
|
+
Cache-Control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
|
+
X-Request-Id:
|
28
|
+
- 7f6b729a-4c3f-42e6-bf01-8f6723ea8001
|
29
|
+
X-Runtime:
|
30
|
+
- '0.309685'
|
31
|
+
Date:
|
32
|
+
- Fri, 01 Jan 2016 02:32:21 GMT
|
33
|
+
X-Rack-Cache:
|
34
|
+
- invalidate, pass
|
35
|
+
Vary:
|
36
|
+
- Origin
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Download-Options:
|
40
|
+
- noopen
|
41
|
+
X-Frame-Options:
|
42
|
+
- sameorigin
|
43
|
+
X-Permitted-Cross-Domain-Policies:
|
44
|
+
- none
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Server:
|
48
|
+
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
|
+
Content-Length:
|
50
|
+
- '19'
|
51
|
+
Connection:
|
52
|
+
- Keep-Alive
|
53
|
+
Set-Cookie:
|
54
|
+
- _session_id=MGllL0NDcG5EZWhBMGlOSTdTSkpmYnBIdHgxUzNvNERpVUIyZ1BHZzh0LytsQTNEVlZHUDByRzlsQUQxaHdkOHhIc1hMdTJHSkZuTy9TTVJyNXVlOUVCVTRaNTc1ZUFtbmlmY3paNmY0TDg9LS1oajBuQ1h2anpXRWlkQkZ6cnZQVnhBPT0%3D--1a3129a627010199c4565a5b4bd1d7ee3f333cf4;
|
55
|
+
path=/; HttpOnly
|
56
|
+
body:
|
57
|
+
encoding: UTF-8
|
58
|
+
string: '{"successful":true}'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Wed, 21 Mar 2018 04:40:28 GMT
|
61
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/checkouts.json
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: booking_id=7&payment[gateway_response]=%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22CardNumber%22%3A%203085227007682330%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22CardBalance%22%3A%206546%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22CardSequenceNumber%22%3A%2055%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22CILAmount%22%3A%200%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22AuthorizedAmount%22%3A%20890%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22SalesReferenceNumber%22%3A%2053183943%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22TransactionDTM%22%3A%20%222018-01-04T09%3A00%3A43.106%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22TransactionReferenceNumber%22%3A%201271099697%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22CardBlockState%22%3A%20false%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22AutoloadAmount%22%3A%200%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D&payment[payment_type_id]=10&payment[amount_in_cents]=10&payment[uid]=opal-uid&payment[comment]=Test%20Opal%20Payment&payment[meta_data][applicationInstanceId]=101166&payment[meta_data][operatorId]=an_operator
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
X-API-KEY:
|
13
|
+
- <QT_KEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: 'OK '
|
18
|
+
headers:
|
19
|
+
P3p:
|
20
|
+
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Etag:
|
24
|
+
- W/"f113c5ed556221b4ceed7b1d8a6606c8"
|
25
|
+
Cache-Control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
|
+
X-Request-Id:
|
28
|
+
- 497a80c7-660b-4619-9560-2d448b4722ca
|
29
|
+
X-Runtime:
|
30
|
+
- '0.454080'
|
31
|
+
Date:
|
32
|
+
- Fri, 01 Jan 2016 02:32:21 GMT
|
33
|
+
X-Rack-Cache:
|
34
|
+
- invalidate, pass
|
35
|
+
Vary:
|
36
|
+
- Origin
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Download-Options:
|
40
|
+
- noopen
|
41
|
+
X-Frame-Options:
|
42
|
+
- sameorigin
|
43
|
+
X-Permitted-Cross-Domain-Policies:
|
44
|
+
- none
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Server:
|
48
|
+
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
|
+
Content-Length:
|
50
|
+
- '68'
|
51
|
+
Connection:
|
52
|
+
- Keep-Alive
|
53
|
+
Set-Cookie:
|
54
|
+
- _session_id=NWhoeG9IUXA2UXZrZFcwM1BQdjFSZ2VnOU53YStIRHhCT21WaC81SEtpUThrVmZGWEhYbWllTFJnS2NMOTExZkFQRm1nZmkyM1lFaUQ5VnNwZW5IQVZxVTJkOS9UaFZmcWNOMjlZL0x6YU09LS13cERCakhnNlE2ZUJ2Q3ArOWptZDdBPT0%3D--acb2c5960a9dcc49b71ed384bc79fdbe2879fc4d;
|
55
|
+
path=/; HttpOnly
|
56
|
+
body:
|
57
|
+
encoding: UTF-8
|
58
|
+
string: '{"checkout_id":"opal-uid","completable":true,"progress":"completed"}'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Wed, 21 Mar 2018 04:40:28 GMT
|
61
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/bookings.json
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
X-API-KEY:
|
13
|
+
- <QT_KEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: 'OK '
|
18
|
+
headers:
|
19
|
+
P3p:
|
20
|
+
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Etag:
|
24
|
+
- W/"692ea2fafe4624431f46eb11f15e5b47"
|
25
|
+
Cache-Control:
|
26
|
+
- max-age=0, private, must-revalidate
|
27
|
+
X-Request-Id:
|
28
|
+
- 46775ddb-80c4-4858-8fb6-af19329e90d1
|
29
|
+
X-Runtime:
|
30
|
+
- '0.276163'
|
31
|
+
Date:
|
32
|
+
- Fri, 01 Jan 2016 02:32:21 GMT
|
33
|
+
X-Rack-Cache:
|
34
|
+
- invalidate, pass
|
35
|
+
Vary:
|
36
|
+
- Origin
|
37
|
+
X-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Download-Options:
|
40
|
+
- noopen
|
41
|
+
X-Frame-Options:
|
42
|
+
- sameorigin
|
43
|
+
X-Permitted-Cross-Domain-Policies:
|
44
|
+
- none
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Server:
|
48
|
+
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
|
+
Content-Length:
|
50
|
+
- '3271'
|
51
|
+
Connection:
|
52
|
+
- Keep-Alive
|
53
|
+
Set-Cookie:
|
54
|
+
- _session_id=RXhaVkNhRUlYd0R4T3JZSTBibGpjMTJrVTlDYlprdWNoNTFnYUhacDhjS0N2eUNVZWxiMEhXRTFFU3B4VVRRNXZORW9uZlBpd1BMMzlYSGRNT25RWkdyOTY2OWhyN0V1YnNTaW5KNVF0bkU9LS1lUWl3OEJ6VldFb25JTFNpZXRna253PT0%3D--1d0a2d287c57e32cfec8a1b5ab562a8cfdea902f;
|
55
|
+
path=/; HttpOnly
|
56
|
+
body:
|
57
|
+
encoding: UTF-8
|
58
|
+
string: '{"id":7,"state":"new","reference":"22222D","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"drop_off_option_id":null,"drop_off_location_id":null,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-01-01T13:02:21.000+10:30","updated_at":"2016-01-01T13:02:21.000+10:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":0,"nett_in_cents":0,"gross_in_cents":0,"commission_in_cents":0,"balance_in_cents":0,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":"SeaLink","deposit_relevant":false,"deposit_due_on":null,"balance_due_on":null,"due":true,"first_travel_date":{"_type":"Date","_value":"2016-01-01"},"last_travel_date":null,"complete":true,"reason_not_complete":"","first_reason_not_complete":"","unprintable_luggage_tags":false,"discardable_in":60,"inactivatable_in":10,"notices":{"currency":["Currency
|
59
|
+
has changed to currency AUD. Please set currency as appropriate."]},"client":null,"passenger_ids":[],"vehicle_ids":[],"reservation_ids":[],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[],"vehicles_attributes":[],"reservations_attributes":[],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":4,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
|
60
|
+
made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":10,"name":"Opal
|
61
|
+
Pay","description":"Opal Payments","transaction_fee":"0.0","active":true,"position":9,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"opal_pay","gateway":null,"on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":false,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Wed, 21 Mar 2018 04:40:28 GMT
|
64
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,83 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/packages/464.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
X-Api-Key:
|
13
|
+
- <QT_KEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Thu, 20 Feb 2020 01:00:56 GMT
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
Set-Cookie:
|
28
|
+
- __cfduid=d4476d9cd867237ab1e7ddfe8cab9bb7f1582160456; expires=Sat, 21-Mar-20
|
29
|
+
01:00:56 GMT; path=/; domain=.quicktravel.com.au; HttpOnly; SameSite=Lax
|
30
|
+
- _session_id=HNhfu80YF9UuLdm9%2Fvd4OrAKDAwGgM7yyyxm5Hre5J6SCh1rK7pOCUrasl0eqcCxjItMZCX6GWErtUMjSUS%2BfLOfX8kg%2BEoaKm1O41EPp0aohkzYQ78%3D--ylH6XcOdnh0BcLnE--SKcJAqb%2B%2BAdJmnzJZ0i1%2Bg%3D%3D;
|
31
|
+
path=/; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- max-age=0, private, must-revalidate
|
34
|
+
Etag:
|
35
|
+
- W/"da1758ef2426563776eaed931d5175b9"
|
36
|
+
P3p:
|
37
|
+
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
38
|
+
Strict-Transport-Security:
|
39
|
+
- max-age=631138519
|
40
|
+
Vary:
|
41
|
+
- Origin
|
42
|
+
X-Content-Type-Options:
|
43
|
+
- nosniff
|
44
|
+
X-Download-Options:
|
45
|
+
- noopen
|
46
|
+
X-Frame-Options:
|
47
|
+
- sameorigin
|
48
|
+
X-Rack-Cache:
|
49
|
+
- miss
|
50
|
+
X-Request-Id:
|
51
|
+
- 03c5ebc4-eb1d-4647-9d59-4f33e7417a76
|
52
|
+
X-Runtime:
|
53
|
+
- '0.141355'
|
54
|
+
X-Xss-Protection:
|
55
|
+
- 1; mode=block
|
56
|
+
Cf-Cache-Status:
|
57
|
+
- DYNAMIC
|
58
|
+
Expect-Ct:
|
59
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
60
|
+
Server:
|
61
|
+
- cloudflare
|
62
|
+
Cf-Ray:
|
63
|
+
- 567c8be46bd9f2e9-ADL
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"name":"Swan Valley Gourmet Wine Cruise (SVGWC-0945)","id":464,"type":"Package","product_type_id":11,"resource_groups":[{"title":"Perth
|
67
|
+
to Sandalford ","id":664,"pick":1,"minimum_required":false,"maximum_restriction":false,"minimum":null,"maximum":null,"product_type_id":21,"package_options":[],"type":"ResourceGroup","package_items":[{"id":2058,"default_selection":false,"type":"PackageItem","resource":{"id":486,"name":"Perth
|
68
|
+
to Mandoon/Sandalford","type":"Ship","package_item_id":2058,"product_type_id":21,"from_route_stop_id":351,"to_route_stop_id":353}}]},{"title":"Tour
|
69
|
+
Description \u0026 Vendor Items","id":665,"pick":1,"minimum_required":false,"maximum_restriction":false,"minimum":null,"maximum":null,"product_type_id":11,"package_options":[],"type":"ResourceGroup","package_items":[{"id":1828,"default_selection":false,"type":"PackageItem","resource":{"name":"Swan
|
70
|
+
Valley Gourmet Wine Cruise - Vendor Items \u0026 Tour Description","id":465,"type":"Package","product_type_id":11,"resource_groups":[{"title":"Tour
|
71
|
+
Description \u0026 Vendor Items","id":667,"pick":1,"minimum_required":false,"maximum_restriction":false,"minimum":null,"maximum":null,"product_type_id":20,"package_options":[],"type":"ResourceGroup","package_items":[{"id":1830,"default_selection":false,"type":"PackageItem","resource":{"id":397,"name":"SVGWC-0945
|
72
|
+
- Swan Valley Gourmet Wine Cruise","type":"GenericResource","package_item_id":1830,"product_type_id":20,"from_route_stop_id":null,"to_route_stop_id":null}},{"id":1831,"default_selection":false,"type":"PackageItem","resource":{"id":329,"name":"BELLS:
|
73
|
+
Morning Tea Package","type":"GenericResource","package_item_id":1831,"product_type_id":20,"from_route_stop_id":null,"to_route_stop_id":null}},{"id":1832,"default_selection":false,"type":"PackageItem","resource":{"id":330,"name":"BELLS:
|
74
|
+
Afternoon Tea Package","type":"GenericResource","package_item_id":1832,"product_type_id":20,"from_route_stop_id":null,"to_route_stop_id":null}},{"id":1833,"default_selection":false,"type":"PackageItem","resource":{"id":335,"name":"SANDALFORD
|
75
|
+
ESTATE: 2 Course Lunch \u0026 Wine Tasting","type":"GenericResource","package_item_id":1833,"product_type_id":20,"from_route_stop_id":null,"to_route_stop_id":null}}]}],"default_options":[]}}]},{"title":"Sandalford
|
76
|
+
to Perth","id":666,"pick":1,"minimum_required":false,"maximum_restriction":false,"minimum":null,"maximum":null,"product_type_id":21,"package_options":[],"type":"ResourceGroup","package_items":[{"id":2059,"default_selection":false,"type":"PackageItem","resource":{"id":487,"name":"Sandalford/Mandoon
|
77
|
+
to Perth","type":"Ship","package_item_id":2059,"product_type_id":21,"from_route_stop_id":354,"to_route_stop_id":356}}]},{"title":"Optional
|
78
|
+
Extra","id":713,"pick":0,"minimum_required":false,"maximum_restriction":false,"minimum":null,"maximum":null,"product_type_id":22,"package_options":[],"type":"ResourceGroup","package_items":[{"id":2087,"default_selection":false,"type":"PackageItem","resource":{"id":502,"name":"Premium
|
79
|
+
Beverage Upgrade (18+)","type":"Item","package_item_id":2087,"product_type_id":22,"from_route_stop_id":null,"to_route_stop_id":null}},{"id":2088,"default_selection":false,"type":"PackageItem","resource":{"id":503,"name":"Last
|
80
|
+
Minute Premium Beverage Upgrade (18+) ","type":"Item","package_item_id":2088,"product_type_id":22,"from_route_stop_id":null,"to_route_stop_id":null}}]}],"default_options":[]}'
|
81
|
+
http_version:
|
82
|
+
recorded_at: Thu, 20 Feb 2020 01:00:56 GMT
|
83
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/product_types.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
X-Api-Key:
|
13
|
+
- <QT_KEY>
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Date:
|
20
|
+
- Thu, 20 Feb 2020 01:01:30 GMT
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
Set-Cookie:
|
28
|
+
- __cfduid=df7c89a7945a63958553e70497ede639a1582160490; expires=Sat, 21-Mar-20
|
29
|
+
01:01:30 GMT; path=/; domain=.quicktravel.com.au; HttpOnly; SameSite=Lax
|
30
|
+
- _session_id=ohFEAurOFA0k3Dkfurpzg7yWDoevpE1we3n1pGout1j%2BCbEjjT9xDpMiVvY8FKGzDX8YDbEV2KYzlGqKmub84stiPt9YtKFD3o69iDPkSfqNbw9Xsng%3D--DBpWmmvc92dX5tYa--yXGiS4InGDOsWVI5ll1G7Q%3D%3D;
|
31
|
+
path=/; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- max-age=0, private, must-revalidate
|
34
|
+
Etag:
|
35
|
+
- W/"9e86e28ddbc8b9438ee44e55c192b7eb"
|
36
|
+
P3p:
|
37
|
+
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
38
|
+
Strict-Transport-Security:
|
39
|
+
- max-age=631138519
|
40
|
+
Vary:
|
41
|
+
- Origin
|
42
|
+
X-Content-Type-Options:
|
43
|
+
- nosniff
|
44
|
+
X-Download-Options:
|
45
|
+
- noopen
|
46
|
+
X-Frame-Options:
|
47
|
+
- sameorigin
|
48
|
+
X-Rack-Cache:
|
49
|
+
- miss
|
50
|
+
X-Request-Id:
|
51
|
+
- 95f9f85d-fe5d-4d5f-b52b-6a63c2613249
|
52
|
+
X-Runtime:
|
53
|
+
- '0.057441'
|
54
|
+
X-Xss-Protection:
|
55
|
+
- 1; mode=block
|
56
|
+
Cf-Cache-Status:
|
57
|
+
- DYNAMIC
|
58
|
+
Expect-Ct:
|
59
|
+
- max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
|
60
|
+
Server:
|
61
|
+
- cloudflare
|
62
|
+
Cf-Ray:
|
63
|
+
- 567c8cbae911f2e9-ADL
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '[{"id":6,"name":"Ferry","resource_class_name":"Ship","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":90,"book_before_units":"minutes","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2017-07-31T13:58:21.000+08:00","updated_at":"2019-10-14T08:37:06.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":9,"name":"Miscellaneous
|
67
|
+
Item","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2017-08-28T13:38:17.000+08:00","updated_at":"2017-08-28T13:38:17.000+08:00","code":"","needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":10,"name":"Gift
|
68
|
+
Vouchers/Donations","resource_class_name":"GenericResource","disclaimer_id":2,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2017-09-27T08:47:40.000+08:00","updated_at":"2017-12-07T12:12:53.000+08:00","code":"GIFT","needs_services":false,"can_have_quantity":false,"can_have_dates":false,"needs_passengers":false},{"id":11,"name":"Rottnest
|
69
|
+
Packages","resource_class_name":"Package","disclaimer_id":2,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":true,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2017-12-11T09:02:10.000+08:00","updated_at":"2018-08-17T08:38:42.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":12,"name":"OLD
|
70
|
+
Rottnest Island Bike Hire","resource_class_name":"GenericResource","disclaimer_id":2,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":true,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2017-12-21T11:02:46.000+08:00","updated_at":"2018-10-29T11:33:29.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":13,"name":"Rottnest
|
71
|
+
Island Tours","resource_class_name":"GenericResource","disclaimer_id":2,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":true,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2018-07-10T06:53:42.000+08:00","updated_at":"2018-07-10T06:53:42.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":15,"name":"Rottnest
|
72
|
+
Island Bike Hire","resource_class_name":"Item","disclaimer_id":2,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["vendor_pnr","notes_for_vendor","vendor_staff"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2018-10-29T11:35:34.000+08:00","updated_at":"2020-02-06T06:29:50.000+08:00","code":"","needs_services":true,"can_have_quantity":true,"can_have_dates":true,"needs_passengers":false},{"id":16,"name":"Accommodation","resource_class_name":"Accommodation","disclaimer_id":2,"durational":true,"can_find_by_location":true,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2018-12-28T05:53:59.000+08:00","updated_at":"2019-03-14T05:08:22.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":17,"name":"Coach
|
73
|
+
Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":2,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2019-03-19T10:45:01.000+08:00","updated_at":"2019-03-19T10:45:01.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":18,"name":"Flights","resource_class_name":"ScheduledTripResource","disclaimer_id":2,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["trip_name","departure_time","pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2019-09-23T14:17:51.000+08:00","updated_at":"2019-09-24T07:37:17.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":19,"name":"Extra
|
74
|
+
Picks","resource_class_name":"ExtraPick","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":true,"footer_itinerary_item":false,"created_at":"2019-09-30T08:07:18.000+08:00","updated_at":"2019-09-30T08:07:18.000+08:00","code":"","needs_services":true,"can_have_quantity":true,"can_have_dates":true,"needs_passengers":false},{"id":20,"name":"Captain
|
75
|
+
Cook Cruises - Tour \u0026 Vendor Resources","resource_class_name":"GenericResource","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["reservation_group_id","vendor_pnr","notes_for_vendor"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2019-11-28T09:10:55.000+08:00","updated_at":"2020-02-06T06:07:31.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":21,"name":"Captain
|
76
|
+
Cook Cruises - Ferry","resource_class_name":"Ship","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2020-02-03T05:24:36.000+08:00","updated_at":"2020-02-03T05:24:36.000+08:00","code":"","needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":22,"name":"Captain
|
77
|
+
Cook Cruises - Optional Upgrades","resource_class_name":"Item","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":"2020-02-06T06:08:10.000+08:00","updated_at":"2020-02-06T06:08:10.000+08:00","code":"","needs_services":true,"can_have_quantity":true,"can_have_dates":true,"needs_passengers":false}]'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Thu, 20 Feb 2020 01:01:30 GMT
|
80
|
+
recorded_with: VCR 2.9.3
|
@@ -5,10 +5,12 @@ http_interactions:
|
|
5
5
|
uri: http://test.qt.sealink.com.au:8080/passenger_types.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Length:
|
11
11
|
- '0'
|
12
|
+
X-API-KEY:
|
13
|
+
- <QT_KEY>
|
12
14
|
response:
|
13
15
|
status:
|
14
16
|
code: 200
|
@@ -18,22 +20,20 @@ http_interactions:
|
|
18
20
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
21
|
Content-Type:
|
20
22
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
23
|
Etag:
|
24
|
-
-
|
24
|
+
- W/"0f4424dcbc52748cfe7472d15e4b8fa3"
|
25
25
|
Cache-Control:
|
26
26
|
- max-age=0, private, must-revalidate
|
27
27
|
X-Request-Id:
|
28
|
-
-
|
28
|
+
- b0542505-3ba4-4c87-a935-5f9354938736
|
29
29
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
30
|
+
- '0.146689'
|
33
31
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
32
|
+
- Fri, 01 Jan 2016 02:32:24 GMT
|
35
33
|
X-Rack-Cache:
|
36
34
|
- miss
|
35
|
+
Vary:
|
36
|
+
- Origin
|
37
37
|
X-Content-Type-Options:
|
38
38
|
- nosniff
|
39
39
|
X-Download-Options:
|
@@ -47,15 +47,15 @@ http_interactions:
|
|
47
47
|
Server:
|
48
48
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
49
|
Content-Length:
|
50
|
-
- '
|
50
|
+
- '614'
|
51
51
|
Connection:
|
52
52
|
- Keep-Alive
|
53
53
|
Set-Cookie:
|
54
|
-
-
|
54
|
+
- _session_id=ZXorcmc5c0Rkak0wYXVyZ29RUms1a3djMXdxYmt3MmxlWWQvV0xZMlBTUDhNSERmUVlncWN5NTY5Ly83VGpwcm1MWjRwMG9RYnFVZ3lkcm9XQnIxMWlRVmh0a2JQcE1oNytMTm5GTjBNR009LS1TNHdiZ3VmMHhSL2JKbWhnMEtGRUlnPT0%3D--b82ab3df67b1062eb5b019b447b8fd90d2a26261;
|
55
55
|
path=/; HttpOnly
|
56
56
|
body:
|
57
57
|
encoding: UTF-8
|
58
|
-
string: '[{"id":1,"name":"Adult","minimum_age":null,"maximum_age":null,"age_range_required":false,"position":1,"default_age":30,"created_at":null,"updated_at":null,"code":"Ad","conditions":null},{"id":3,"name":"Infant","minimum_age":0,"maximum_age":2,"age_range_required":true,"position":2,"default_age":0,"created_at":null,"updated_at":null,"code":"In","conditions":null},{"id":2,"name":"Child","minimum_age":3,"maximum_age":14,"age_range_required":true,"position":3,"default_age":3,"created_at":null,"updated_at":null,"code":"Ch","conditions":null}]'
|
58
|
+
string: '[{"id":1,"name":"Adult","minimum_age":null,"maximum_age":null,"age_range_required":false,"position":1,"default_age":30,"created_at":null,"updated_at":null,"code":"Ad","conditions":null,"requires_review":false},{"id":3,"name":"Infant","minimum_age":0,"maximum_age":2,"age_range_required":true,"position":2,"default_age":0,"created_at":null,"updated_at":null,"code":"In","conditions":null,"requires_review":false},{"id":2,"name":"Child","minimum_age":3,"maximum_age":14,"age_range_required":true,"position":3,"default_age":3,"created_at":null,"updated_at":null,"code":"Ch","conditions":null,"requires_review":false}]'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
60
|
+
recorded_at: Wed, 21 Mar 2018 04:40:31 GMT
|
61
|
+
recorded_with: VCR 4.0.0
|
@@ -5,10 +5,12 @@ http_interactions:
|
|
5
5
|
uri: http://test.qt.sealink.com.au:8080/api/payment_types/information.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Length:
|
11
11
|
- '0'
|
12
|
+
X-API-KEY:
|
13
|
+
- <QT_KEY>
|
12
14
|
response:
|
13
15
|
status:
|
14
16
|
code: 200
|
@@ -18,22 +20,20 @@ http_interactions:
|
|
18
20
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
21
|
Content-Type:
|
20
22
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
23
|
Etag:
|
24
|
-
-
|
24
|
+
- W/"10c30c0c49ba4e1f56c0c416ec0303f8"
|
25
25
|
Cache-Control:
|
26
26
|
- max-age=0, private, must-revalidate
|
27
27
|
X-Request-Id:
|
28
|
-
-
|
28
|
+
- 98c73fc1-a714-4467-89a4-e7741ed8a80d
|
29
29
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
30
|
+
- '0.129914'
|
33
31
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
32
|
+
- Fri, 01 Jan 2016 02:32:24 GMT
|
35
33
|
X-Rack-Cache:
|
36
34
|
- miss
|
35
|
+
Vary:
|
36
|
+
- Origin
|
37
37
|
X-Content-Type-Options:
|
38
38
|
- nosniff
|
39
39
|
X-Download-Options:
|
@@ -51,11 +51,11 @@ http_interactions:
|
|
51
51
|
Connection:
|
52
52
|
- Keep-Alive
|
53
53
|
Set-Cookie:
|
54
|
-
-
|
54
|
+
- _session_id=c3M0WHRTdHFWc0JUTUhBZWRqMGJsUHdNNGEvQ3lrTDU1My83ODA2MGdXLyswSEZ3YjI3UXorTFZZTFAvZWNDY1F4dTdBeDl0N05qa0lCNjdEY0VXalVGUXhXeUhscTBubHZ2a0FialZYVUU9LS10MFA0VTNMcmEyRUlCMFNCTm1EaVNBPT0%3D--27475c8de90058e6efc826f06746a8a7d0bd16d2;
|
55
55
|
path=/; HttpOnly
|
56
56
|
body:
|
57
57
|
encoding: UTF-8
|
58
58
|
string: '{"poli_pay":{"login":"S1234567"}}'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
60
|
+
recorded_at: Wed, 21 Mar 2018 04:40:31 GMT
|
61
|
+
recorded_with: VCR 4.0.0
|