--- http_interactions: - request: method: get uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/contacts.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: - '13' x-ratelimit-remaining: - '98' x-pages-currentpage: - '1' x-pages-totalpages: - '1' content-type: - application/json; charset=utf-8 etag: - '"9f61db3c521dbbd6fa0aec27f6813410"' cache-control: - max-age=0, private, must-revalidate x-request-id: - 5f55939e-dff8-4bca-b69b-f845ed448083 x-runtime: - '1.159593' connection: - close server: - thin body: encoding: UTF-8 string: '[{"id":44,"kind":"company","created_at":1496660076,"full_name":"Albus Dumbledoge","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"BE","phone_1":null,"phone_2":null,"fax":null,"email":"john@recrea.es","web":null,"discount":null,"tax_id":null,"vat_number":null,"language":"DE","notes":null,"processor_id":"cst_yBHtjcSFhR","secure_id":"51ed8dd564d46a3e8f6550686dea84750c5d4b80","permalink":"http://development.lvh.me:3000/billing/51ed8dd564d46a3e8f6550686dea84750c5d4b80","url":"http://development.lvh.me:3000/api/contacts/44"},{"id":42,"kind":"person","created_at":1495535760,"first_name":"Cidi","last_name":"Campidocti","full_name":"Cidi Campidocti","street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":null,"web":null,"discount":null,"tax_id":"","vat_number":null,"bank_account":null,"language":"ES","notes":null,"secure_id":"7e17fe690137a91f7d1b8c1602fb7667ab981b00","permalink":"http://development.lvh.me:3000/billing/7e17fe690137a91f7d1b8c1602fb7667ab981b00","url":"http://development.lvh.me:3000/api/contacts/42"},{"id":43,"kind":"company","created_at":1496653655,"full_name":"Test_OCP","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"dont@stop.believing","web":null,"discount":null,"tax_id":null,"vat_number":null,"bank_account":null,"language":"ES","notes":null,"processor_id":"tr_VpKBExBQxU","secure_id":"240d872343b09c0e4f095cfd6484c6eabc74c6eb","permalink":"http://development.lvh.me:3000/billing/240d872343b09c0e4f095cfd6484c6eabc74c6eb","url":"http://development.lvh.me:3000/api/contacts/43"},{"id":45,"kind":"company","created_at":1497013162,"full_name":"Test_Skynet","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"my_little@po.ny","web":null,"discount":null,"tax_id":null,"vat_number":null,"bank_account":null,"language":"ES","notes":null,"secure_id":"0c102e324af99ba80911b5040f8c3ac253c76890","permalink":"http://development.lvh.me:3000/billing/0c102e324af99ba80911b5040f8c3ac253c76890","url":"http://development.lvh.me:3000/api/contacts/45"},{"id":47,"kind":"company","created_at":1497013255,"full_name":"Test_Skynet","contact_name":null,"street_line_1":null,"street_line_2":null,"postal_code":null,"city":null,"region":null,"country":"ES","phone_1":null,"phone_2":null,"fax":null,"email":"my_little@po.ny","web":null,"discount":null,"tax_id":null,"vat_number":null,"bank_account":null,"language":"ES","notes":null,"secure_id":"e09d2dd3b8781a417a0ee1b43bdb5499a8e925a7","permalink":"http://development.lvh.me:3000/billing/e09d2dd3b8781a417a0ee1b43bdb5499a8e925a7","url":"http://development.lvh.me:3000/api/contacts/47"}]' http_version: '1.1' recorded_at: Mon, 12 Jun 2017 11:44:11 GMT - request: method: post uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/invoices.json body: encoding: UTF-8 string: '{"contact_id":44,"contact_name":"Albus Dumbledoge","currency":"EUR","items_attributes":[{"description":"Aircraft","quantity":"1.0","unit_price":"0.0"}],"tags":"tnt","payment_details":"","notes":""}' headers: accept: - application/json content-type: - application/json authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 201 message: Created headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '12' x-ratelimit-remaining: - '97' content-type: - application/json; charset=utf-8 etag: - '"4d338c88d5eac57d13d211099c4c8954"' cache-control: - max-age=0, private, must-revalidate x-request-id: - 716a7db7-82ac-4ec0-8df5-369bcc704733 x-runtime: - '4.541294' connection: - close server: - thin body: encoding: UTF-8 string: '{"id":193,"blocked":false,"number":"0006","issue_date":"2017-06-12","created_at":1497267853,"contact":{"id":44,"full_name":"Albus Dumbledoge"},"country":"BE","street_line_1":null,"street_line_2":null,"city":null,"region":null,"postal_code":null,"po_number":null,"due_date":null,"currency":"EUR","subject":null,"items":[{"id":194,"description":"Aircraft","quantity":"1.0","unit_price_cents":"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_cents":"0.0","discount_cents":"0.0","gross_amount_cents":"0.0"}],"subtotal_cents":"0.0","discount_cents":"0.0","taxes":[],"total_cents":0,"payments":[],"payment_details":null,"notes":null,"state":"outstanding","tag_list":[],"secure_id":"a87a9a9fb8fb5e4ee724175556480167798377cf","permalink":"http://development.lvh.me:3000/invoice/a87a9a9fb8fb5e4ee724175556480167798377cf","pdf":"http://development.lvh.me:3000/invoice/a87a9a9fb8fb5e4ee724175556480167798377cf.pdf","url":"http://development.lvh.me:3000/api/invoices/193.json","processor":null,"processor_id":null,"custom_metadata":{}}' http_version: '1.1' recorded_at: Mon, 12 Jun 2017 11:44:16 GMT - request: method: delete uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/invoices/193.json body: encoding: US-ASCII string: '' headers: accept: - application/json authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 204 message: No Content headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '7' x-ratelimit-remaining: - '96' cache-control: - no-cache x-request-id: - 838bf07f-794d-43e2-bcd9-07f00cc7d948 x-runtime: - '2.274649' connection: - close server: - thin body: encoding: US-ASCII string: '' http_version: '1.1' recorded_at: Mon, 12 Jun 2017 11:44:18 GMT recorded_with: VCR 2.9.2