--- http_interactions: - request: method: get uri: http://test.qt.sealink.com.au:8080/api/bookings/3.json body: encoding: UTF-8 string: access_key= headers: Content-Length: - '0' response: status: code: 200 message: 'OK ' headers: P3p: - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" Content-Type: - application/json; charset=utf-8 X-Ua-Compatible: - IE=Edge,chrome=1 Etag: - '"70be92a6bc9217633487b0686e785057"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 542e12db0fd4fe0d9c77bd633600e71d X-Runtime: - '0.121175' Vary: - Origin Date: - Fri, 01 Jan 2016 02:32:30 GMT X-Rack-Cache: - miss X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - sameorigin X-Permitted-Cross-Domain-Policies: - none X-Xss-Protection: - 1; mode=block Server: - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26) Content-Length: - '2232' Connection: - Keep-Alive Set-Cookie: - _quick_travel_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJWEyYzdjY2IxNTAxODY5Mjg3Y2U3NmUyNDYxMmRmMTU2BjsAVEkiCXVzZXIGOwBGaQY%3D--6bbe8bbadbbf0baeec0f44d8c37a44fb379df9d2; path=/; HttpOnly body: encoding: UTF-8 string: '{"id":3,"state":"new","reference":"222226","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,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-01-01T13:02:29+10:30","updated_at":"2016-01-01T13:02:29+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,"first_travel_date":{"_type":"Date","_value":"2016-01-01"},"last_travel_date":null,"complete":true,"reason_not_complete":"","first_reason_not_complete":"","discardable_in":60,"inactivatable_in":10,"notices":{},"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":5,"name":"master","description":"master","payment_method":"credit_card","gateway":"braintree","credit_card_brand":"MasterCard","transaction_fee":"0.0","active":true,"position":2,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"internal":false,"redirect":false},{"id":4,"name":"visa","description":"visa","payment_method":"credit_card","gateway":"braintree","credit_card_brand":"Visa","transaction_fee":"0.0","active":true,"position":3,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"internal":false,"redirect":false},{"id":7,"name":"PayPal","description":"Payments made via PayPal account","payment_method":"paypal","gateway":"braintree","credit_card_brand":null,"transaction_fee":"0.0","active":true,"position":6,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"internal":false,"redirect":false}],"issued_tickets_attributes":[]}' http_version: recorded_at: Fri, 28 Oct 2016 05:28:06 GMT recorded_with: VCR 3.0.3