--- 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; api_version=20160602 authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 200 message: OK headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '10' x-ratelimit-remaining: - '88' 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: - c96792d5-f611-46f0-881b-6aa1412fb4da x-runtime: - '0.249594' 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: Fri, 09 Jun 2017 13:02:43 GMT - request: method: post uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/estimates.json body: encoding: UTF-8 string: '{"contact_id":44,"number":"test number 42","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; api_version=20160602 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: - '10' x-ratelimit-remaining: - '87' content-type: - application/json; charset=utf-8 etag: - '"dee9b5abe22ac47bad10957cf46848ed"' cache-control: - max-age=0, private, must-revalidate x-request-id: - bed99657-9533-438a-aa09-a873fb5f5f93 x-runtime: - '0.522703' connection: - close server: - thin body: encoding: ASCII-8BIT string: !binary |- eyJpZCI6MTc4LCJudW1iZXIiOiJ0ZXN0IG51bWJlciA0MiIsImlzc3VlX2Rh dGUiOiIyMDE3LTA2LTA5IiwiY3JlYXRlZF9hdCI6MTQ5NzAxMzM2MywiY29u dGFjdCI6eyJpZCI6NDQsImZ1bGxfbmFtZSI6IkFsYnVzIER1bWJsZWRvZ2Ui fSwic3RyZWV0X2xpbmVfMSI6bnVsbCwic3RyZWV0X2xpbmVfMiI6bnVsbCwi Y2l0eSI6bnVsbCwicmVnaW9uIjpudWxsLCJwb3N0YWxfY29kZSI6bnVsbCwi cG9fbnVtYmVyIjpudWxsLCJjdXJyZW5jeSI6IkVVUiIsIml0ZW1zIjpbeyJp ZCI6MTc5LCJkZXNjcmlwdGlvbiI6IkFpcmNyYWZ0IiwicXVhbnRpdHkiOiIx LjAiLCJ1bml0X3ByaWNlIjoiMC4wIiwiZGlzY291bnRfcmF0ZSI6IjAuMCIs InRheF8xX25hbWUiOm51bGwsInRheF8xX3JhdGUiOm51bGwsInRheF8yX25h bWUiOm51bGwsInRheF8yX3JhdGUiOm51bGwsInJlZmVyZW5jZSI6bnVsbCwi c3VidG90YWwiOiLigqwwLjAwIiwiZGlzY291bnQiOiLigqwwLjAwIiwiZ3Jv c3NfYW1vdW50Ijoi4oKsMC4wMCJ9XSwic3VidG90YWwiOiLigqwwLjAwIiwi ZGlzY291bnQiOiLigqwwLjAwIiwidGF4ZXMiOltdLCJ0b3RhbCI6IuKCrDAu MDAiLCJwYXltZW50X2RldGFpbHMiOm51bGwsIm5vdGVzIjpudWxsLCJzdGF0 ZSI6Im91dHN0YW5kaW5nIiwidGFnX2xpc3QiOltdLCJzZWN1cmVfaWQiOiI2 NzY5ZDM5N2ExY2JmYjRkZjNjNDFiYTU1YTczMzEzYzk2NWNkM2YxIiwicGVy bWFsaW5rIjoiaHR0cDovL2RldmVsb3BtZW50Lmx2aC5tZTozMDAwL2VzdGlt YXRlLzY3NjlkMzk3YTFjYmZiNGRmM2M0MWJhNTVhNzMzMTNjOTY1Y2QzZjEi LCJ1cmwiOiJodHRwOi8vZGV2ZWxvcG1lbnQubHZoLm1lOjMwMDAvYXBpL2Vz dGltYXRlcy8xNzguanNvbiJ9 http_version: '1.1' recorded_at: Fri, 09 Jun 2017 13:02:44 GMT - request: method: delete uri: http://sk_test_B7xXrTspfeGukQqGN1pK@development.lvh.me:3000/api/estimates/178.json body: encoding: US-ASCII string: '' headers: accept: - application/json; api_version=20160602 authorization: - Basic c2tfdGVzdF9CN3hYclRzcGZlR3VrUXFHTjFwSzo= response: status: code: 204 message: No Content headers: x-frame-options: - ALLOWALL x-ratelimit-limit: - '2000' x-ratelimit-reset: - '10' x-ratelimit-remaining: - '86' cache-control: - no-cache x-request-id: - 2a59e8b4-e8b4-4c15-889a-895d9c4c3a3a x-runtime: - '0.297087' connection: - close server: - thin body: encoding: US-ASCII string: '' http_version: '1.1' recorded_at: Fri, 09 Jun 2017 13:02:44 GMT recorded_with: VCR 2.9.2