--- http_interactions: - request: method: get uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/contacts.json body: encoding: US-ASCII string: '' headers: authorization: - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6 response: status: code: 200 message: OK headers: server: - nginx/1.4.5 date: - Tue, 01 Jul 2014 09:07:39 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 200 OK x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1948' x-pages-currentpage: - '1' x-pages-totalpages: - '1' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"bcad972a420d51a47d312c5b43926c87"' cache-control: - must-revalidate, private, max-age=0 x-request-id: - fd40dacfe085ab278c89b36f88b9918b x-runtime: - '0.098952' x-rack-cache: - miss body: encoding: US-ASCII string: ! '[{"id":142297,"kind":"company","full_name":"Dummy","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142297"},{"id":142302,"kind":"company","full_name":"Pepe Gotera & Otilio","contact_name":null,"street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"ES","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","bank_account":null,"language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142302"},{"id":142298,"kind":"company","full_name":"Test","contact_name":null,"street_line_1":"Evergreen Terrace","street_line_2":null,"postal_code":"K0A 1B0","city":"Springfield","region":"","country":"US","phone_1":"3447277","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142298"},{"id":142299,"kind":"person","first_name":"Test_OCP","last_name":"Stanman","full_name":"Test_OCP Stanman","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"Monkey Island","country":"BS","phone_1":"","phone_2":null,"fax":null,"email":"dont@stop.believing","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142299"},{"id":142303,"kind":"company","full_name":"Test_Skynet","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"US","phone_1":null,"phone_2":null,"fax":null,"email":"my_little@po.ny","web":null,"discount":null,"tax_id":null,"language":"EN","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142303"},{"id":142301,"kind":"person","first_name":"Vince","last_name":"Offer","full_name":"Vince Offer","street_line_1":"","street_line_2":null,"postal_code":"","city":"","region":"","country":"US","phone_1":"","phone_2":null,"fax":null,"email":"","web":null,"discount":null,"tax_id":"","language":"ES","notes":null,"url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/contacts/142301"}]' http_version: '1.1' recorded_at: Tue, 01 Jul 2014 09:07:39 GMT - request: method: post uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices.json body: encoding: US-ASCII string: contact_id=142297&contact_name=Dummy¤cy=EUR&items_attributes[][description]=Aircraft&items_attributes[][quantity]=1.0&items_attributes[][unit_price]=0.0&tags=tnt&payment_details=¬es= headers: authorization: - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6 response: status: code: 201 message: Created headers: server: - nginx/1.4.5 date: - Tue, 01 Jul 2014 09:07:40 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 201 Created x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1947' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"13c36069d201487d5a0baf2bf4e544c3"' cache-control: - max-age=0, private, must-revalidate set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTYxYWM4MzllYjA5NDhmOWY0MGYwNjc2YjViNmY3YjRmBjsAVA%3D%3D--c8fd5805577a081ebc3a9a19261ab8fed6ec5cdd; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - e8ccb5efe7501d633c09fd0b9c6b25b1 x-runtime: - '0.217727' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: ! '{"id":492380,"number":"0000004","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"due_date":null,"currency":"EUR","items":[{"id":1294899,"description":"Aircraft","quantity":"1.0","unit_price":"0.0","discount_rate":"0.0","tax_1_name":null,"tax_1_rate":null,"tax_2_name":null,"tax_2_rate":null,"reference":null,"subtotal":"0.00 \u20ac","discount":"0.00 \u20ac","gross_amount":"0.00 \u20ac"}],"subtotal":"0.00 \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"0.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"3c5169f88a8f8cfceeb39a211f2ed02ea78026d1","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/3c5169f88a8f8cfceeb39a211f2ed02ea78026d1","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492380.json"}' http_version: '1.1' recorded_at: Tue, 01 Jul 2014 09:07:40 GMT - request: method: delete uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492380.json body: encoding: US-ASCII string: '' headers: authorization: - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6 response: status: code: 204 message: No Content headers: server: - nginx/1.4.5 date: - Tue, 01 Jul 2014 09:07:40 GMT connection: - close status: - 204 No Content x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1946' x-ua-compatible: - IE=Edge,chrome=1 cache-control: - no-cache set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTM0NDQyZWZkMzUxYWUzNDVhMTJkNzEzMzQzOTQ4ZjQ4BjsAVA%3D%3D--8cb2d850f2519c19e165726ff90195b7b29e6a3a; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - a291dc55618095a1d120e570c2b6e51a x-runtime: - '0.135564' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: '' http_version: '1.1' recorded_at: Tue, 01 Jul 2014 09:07:40 GMT - request: method: get uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices.json body: encoding: US-ASCII string: '' headers: authorization: - Basic UnNOYUxzTnIxS1pjZHJRUktLS2s6 response: status: code: 200 message: OK headers: server: - nginx/1.4.5 date: - Tue, 01 Jul 2014 09:07:41 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 200 OK x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1945' x-pages-currentpage: - '1' x-pages-totalpages: - '1' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"04f5f780647ab2e5e46bc860f6f7c118"' cache-control: - must-revalidate, private, max-age=0 x-request-id: - f0f8f2f144695afafeec135ba63d1397 x-runtime: - '0.150000' x-rack-cache: - miss body: encoding: US-ASCII string: ! '[{"id":492367,"number":"0000003","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":"","due_date":null,"currency":"EUR","items":[{"id":1294883,"description":"Test Item #3","quantity":"1.0","unit_price":"30.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"30.00 \u20ac","discount":"0.00 \u20ac","gross_amount":"30.00 \u20ac"}],"subtotal":"30.00 \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"30.00 \u20ac","payments":[{"id":328809,"date":"2014-07-01","payment_method":"cash","amount":"100,000,000.00 \u20ac","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492367/payments/328809.json"}],"payment_details":"","notes":"","state":"paid","tag_list":[],"secure_id":"d0c7f048f2f998e430a956df59a2dba70ae23233","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/d0c7f048f2f998e430a956df59a2dba70ae23233","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492367.json"},{"id":492366,"number":"0000002","issue_date":"2014-07-01","contact":{"id":142298,"full_name":"Test"},"po_number":"","due_date":null,"currency":"EUR","items":[{"id":1294882,"description":"Test Item #2","quantity":"1.0","unit_price":"30.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"30.00 \u20ac","discount":"0.00 \u20ac","gross_amount":"30.00 \u20ac"}],"subtotal":"30.00 \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"30.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"dabda45b60a4935d5db21443350b79673c78ae38","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/dabda45b60a4935d5db21443350b79673c78ae38","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492366.json"},{"id":492365,"number":"0000001","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":"","due_date":null,"currency":"EUR","items":[{"id":1294881,"description":"Test Item","quantity":"1.0","unit_price":"30.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"reference":"","subtotal":"30.00 \u20ac","discount":"0.00 \u20ac","gross_amount":"30.00 \u20ac"}],"subtotal":"30.00 \u20ac","discount":"0.00 \u20ac","taxes":[],"total":"30.00 \u20ac","payments":[],"payment_details":"","notes":"","state":"draft","tag_list":[],"secure_id":"6b03eed5a7330f6dffbdab27351411e15b1dcb69","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/6b03eed5a7330f6dffbdab27351411e15b1dcb69","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492365.json"}]' http_version: '1.1' recorded_at: Tue, 01 Jul 2014 09:07:41 GMT recorded_with: VCR 2.9.2