--- 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:36 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 200 OK x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1951' 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: - 420b1ce6e185786f514a4a6d570e6c2f x-runtime: - '0.103040' 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:36 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:37 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 201 Created x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1950' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"3839b1b1dcd6c7a51a387374c4963e37"' cache-control: - max-age=0, private, must-revalidate set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTAxODI1YjIwMDUyNjI2ZjI0YTIxMGUxNTVjYzljNDhhBjsAVA%3D%3D--330eebb5d0648cf9b6f5f8905e938df8153e9607; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - 4856d9bc88b243ea3b373ab5a8626198 x-runtime: - '0.165287' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: ! '{"id":492379,"number":"0000004","issue_date":"2014-07-01","contact":{"id":142297,"full_name":"Dummy"},"po_number":null,"due_date":null,"currency":"EUR","items":[{"id":1294898,"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":"15307b45e8eb57c94c9e77bc61bc0b5fafba77a5","permalink":"http://uruk-1066.sandbox-quadernoapp.com/invoice/15307b45e8eb57c94c9e77bc61bc0b5fafba77a5","url":"http://uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492379.json"}' http_version: '1.1' recorded_at: Tue, 01 Jul 2014 09:07:38 GMT - request: method: delete uri: http://RsNaLsNr1KZcdrQRKKKk@uruk-1066.sandbox-quadernoapp.com/api/v1/invoices/492379.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:38 GMT connection: - close status: - 204 No Content x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1949' x-ua-compatible: - IE=Edge,chrome=1 cache-control: - no-cache set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWJkNjI2YmIxNmE3MDgyM2IwYzhmMGUzNjYzNDQwYWMxBjsAVA%3D%3D--da90748417eed6267de3231be614ecf73cbe750c; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - c91522e49a22eb817e15c085ee454d54 x-runtime: - '0.213666' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: '' http_version: '1.1' recorded_at: Tue, 01 Jul 2014 09:07:38 GMT recorded_with: VCR 2.9.2