--- http_interactions: - request: method: get uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/estimates.json? body: encoding: US-ASCII string: '' headers: accept: - application/json authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 200 message: OK headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '15' x-ratelimit-remaining: - '100' x-pages-currentpage: - '1' x-pages-totalpages: - '1' content-type: - application/json; charset=utf-8 etag: - '"b1aa095a3d37cb3a66bdf93f658ff2ee"' cache-control: - max-age=0, private, must-revalidate x-request-id: - 4b668b53-4776-45f0-b6f3-515e65e9a5d4 x-runtime: - '0.395275' connection: - close server: - thin body: encoding: UTF-8 string: '[{"id":175,"number":"0001","issue_date":"2017-06-09","created_at":1497013347,"contact":{"id":42,"full_name":"Cidi Campidocti"},"country":"ES","street_line_1":null,"street_line_2":null,"city":null,"region":null,"postal_code":null,"po_number":null,"currency":"EUR","items":[{"id":176,"description":"Something","quantity":"1.0","unit_price_cents":"2000.0","discount_rate":"0.0","tax_1_name":"IVA","tax_1_rate":21.0,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal_cents":"2000.0","discount_cents":"0.0","gross_amount":"2000.0"}],"subtotal_cents":"2000.0","discount_cents":"0.0","taxes":[{"label":"IVA (21.00%)","amount_cents":420}],"total_cents":2420,"payment_details":null,"notes":null,"state":"outstanding","tag_list":[],"secure_id":"f2f35a037263fe1d78a94ca62ffa1b768e8e16c6","permalink":"http://development.lvh.me:3000/estimate/f2f35a037263fe1d78a94ca62ffa1b768e8e16c6","url":"http://development.lvh.me:3000/api/estimates/175.json","custom_metadata":{}}]' http_version: '1.1' recorded_at: Fri, 09 Jun 2017 13:06:24 GMT - request: method: get uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/ping.json body: encoding: US-ASCII string: '' headers: accept: - application/json authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 200 message: OK headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '15' x-ratelimit-remaining: - '99' content-type: - application/json; charset=utf-8 etag: - '"0c776997933eb60833b37beaf43814c8"' cache-control: - max-age=0, private, must-revalidate x-request-id: - 90fc57c3-a86a-48e5-8045-5b7024ff5a67 x-runtime: - '0.166282' connection: - close server: - thin body: encoding: UTF-8 string: '{"status":"OK"}' http_version: '1.1' recorded_at: Fri, 09 Jun 2017 13:06:24 GMT - request: method: get uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/estimates/175/deliver.json body: encoding: US-ASCII string: '' headers: accept: - application/json authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 422 message: Unprocessable Entity headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '14' x-ratelimit-remaining: - '98' content-type: - application/json; charset=utf-8 cache-control: - no-cache x-request-id: - 69f5b9c7-d537-4660-97a4-bbd07df6f0eb x-runtime: - '0.308794' connection: - close server: - thin body: encoding: UTF-8 string: '{"delivery_recipients":["can''t be blank","is invalid"]}' http_version: '1.1' recorded_at: Fri, 09 Jun 2017 13:06:24 GMT recorded_with: VCR 2.9.2