--- http_interactions: - request: method: post uri: http://test.qt.sealink.com.au:8080/api/price_quotes/calculate body: encoding: UTF-8 string: reservations%5B%5D%5Bresource_id%5D=7&reservations%5B%5D%5Bquantity%5D=2&reservations%5B%5D%5Bfirst_travel_date%5D=2016-04-15 headers: Content-Length: - '0' X-API-KEY: - 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 Etag: - W/"5c82dc53593c47d6fe1dab0bf46ab26b" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - b85dc6fd-aada-4064-83f7-bd34094c470c X-Runtime: - '0.332660' Date: - Fri, 01 Jan 2016 02:32:24 GMT X-Rack-Cache: - invalidate, pass Vary: - Origin 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: - '332' Connection: - Keep-Alive Set-Cookie: - _session_id=YTlJTUlNeHErV1ZNb0QrOVp6QXdUdXJ6d2MrUjlDMURWcXAzUm1RVXJVWUVBRzJralZabHFPNW1ra2JYY2dIWi9LR3RwWk1VbFBZZTgybUJuQ0NFRXBQaWdIQUJDSGJlUHMzbUxaTHU0Mnc9LS1tZGU4VVVOSVlHNkN1bFEzRllOVmhRPT0%3D--02dc74be0c2f9ce10cc61ac5614c7a7c734340e1; path=/; HttpOnly body: encoding: UTF-8 string: '{"quoted_booking_gross_in_cents":6400,"original_booking_gross_in_cents":0,"applied_rules":[],"quoted_booking_breakdown":[{"quoted_gross_in_cents":6400,"original_gross_in_cents":0,"applied_rules":[],"reservation":{"id":null,"resource_id":7,"first_travel_date":"2016-04-15","passengers":{},"vehicles":[]},"new":true,"deleted":false}]}' http_version: recorded_at: Wed, 21 Mar 2018 04:40:31 GMT - request: method: post uri: http://test.qt.sealink.com.au:8080/api/price_quotes/calculate body: encoding: UTF-8 string: reservations%5B%5D%5Bresource_id%5D=7&reservations%5B%5D%5Bquantity%5D=3&reservations%5B%5D%5Bfirst_travel_date%5D=2016-04-15 headers: Content-Length: - '0' X-API-KEY: - 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 Etag: - W/"fcdfcfff79f5c60b174480976538dbb9" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - ee9c0559-0edf-4b9c-bbd0-7c9238e25624 X-Runtime: - '0.125472' Date: - Fri, 01 Jan 2016 02:32:24 GMT X-Rack-Cache: - invalidate, pass Vary: - Origin 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: - '362' Connection: - Keep-Alive Set-Cookie: - _session_id=d2tyU0pHd081SGplZ3ZNZXFPWlh3MUhMRXhXK1dIVDA3VzN5Q01VdFIvcHBsRWdmNEp2NHV1TE5iQnU0QWpjTEJ0Nk91TzVpRFVSWUd0aDNBdFJ3dzdIRHF1bytxSHVzc2lPYkRIMWRQRUU9LS0rbDNJbnpkT0J3ZlNVbVRKbWNxa053PT0%3D--7ecb9cf299d107121355fba7c03491af1c0c2d66; path=/; HttpOnly body: encoding: UTF-8 string: '{"quoted_booking_gross_in_cents":4800,"original_booking_gross_in_cents":0,"applied_rules":["Special Offer"],"quoted_booking_breakdown":[{"quoted_gross_in_cents":4800,"original_gross_in_cents":0,"applied_rules":["Special Offer"],"reservation":{"id":null,"resource_id":7,"first_travel_date":"2016-04-15","passengers":{},"vehicles":[]},"new":true,"deleted":false}]}' http_version: recorded_at: Wed, 21 Mar 2018 04:40:31 GMT recorded_with: VCR 4.0.0