--- http_interactions: - request: method: get uri: http://n8sDLUZ5z1d6dYXKixnx@localhost:3000/recrea/api/v1/estimates.json body: encoding: US-ASCII string: '' headers: authorization: - Basic bjhzRExVWjV6MWQ2ZFlYS2l4bng6 response: status: code: 200 message: OK headers: x-ratelimit-limit: - '1000' x-ratelimit-remaining: - '884' content-type: - application/json; charset=utf-8 x-ua-compatible: - IE=Edge etag: - ! '"5b7ecba12d39953a997fc60af9f8dc2c"' cache-control: - max-age=0, private, must-revalidate x-request-id: - beefac59cfd987f2870d59068046d8ff x-runtime: - '0.844291' connection: - close server: - thin 1.5.0 codename Knife body: encoding: US-ASCII string: ! '[{"id":15,"number":"0000007","issue_date":"2013-04-25","contact":{"id":4,"full_name":"Test_OCP Doe"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"Show me the moneeeeeeeyy!!!!","notes":"","state":"draft","permalink":"http://localhost:3000/estimate/91b1ab60bc88b87973bb9c03d668f6ceebb30137","url":"http://localhost:3000/recrea/api/v1/estimates/15.json"},{"id":14,"number":"0000006","issue_date":"2013-04-25","contact":{"id":5,"full_name":"Stark Industries"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"","notes":"","state":"declined","permalink":"http://localhost:3000/estimate/4dae199225447e31626848012ca892b69d507262","url":"http://localhost:3000/recrea/api/v1/estimates/14.json"},{"id":13,"number":"0000005","issue_date":"2013-04-25","contact":{"id":3,"full_name":"100-499"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"","notes":"","state":"accepted","permalink":"http://localhost:3000/estimate/b70a0607dee9da936bbc941f3f5d9d88dd49952f","url":"http://localhost:3000/recrea/api/v1/estimates/13.json"},{"id":12,"number":"0000004","issue_date":"2013-04-25","contact":{"id":6,"full_name":"ACME"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"","notes":"","state":"draft","permalink":"http://localhost:3000/estimate/d877d05d92046a69fe737fa5b43053c23975ea4d","url":"http://localhost:3000/recrea/api/v1/estimates/12.json"},{"id":11,"number":"0000003","issue_date":"2013-04-25","contact":{"id":5,"full_name":"Stark Industries"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"","notes":"","state":"draft","permalink":"http://localhost:3000/estimate/f7d4b0db4eb44df4c64717de9a8fce4358552156","url":"http://localhost:3000/recrea/api/v1/estimates/11.json"},{"id":10,"number":"0000002","issue_date":"2013-04-25","contact":{"id":2,"full_name":"Test_OCP"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"","notes":"","state":"draft","permalink":"http://localhost:3000/estimate/f40fd3dc4d2e6b597d2c45897eb8af605fd3b9b0","url":"http://localhost:3000/recrea/api/v1/estimates/10.json"},{"id":9,"number":"0000001","issue_date":"2013-04-25","contact":{"id":1,"full_name":"Recrea Systems, SLU"},"po_number":"","currency":"EUR","items":[{"description":"Algo","quantity":"1.0","unit_price":"33.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac33.00","discount":"\u20ac0.00","gross_amount":"\u20ac33.00"}],"subtotal":"\u20ac33.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac33.00","tags":[],"payment_details":"","notes":"","state":"invoiced","permalink":"http://localhost:3000/estimate/2219c272c3aa91e6ed27f8e8cfe2c905c81f6e2f","url":"http://localhost:3000/recrea/api/v1/estimates/9.json"},{"id":21,"number":"0000008","issue_date":"2013-04-24","contact":{"id":7,"full_name":"Test_OCP"},"po_number":"","currency":"EUR","items":[{"description":"Fresones","quantity":"1.0","unit_price":"5.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac5.00","discount":"\u20ac0.00","gross_amount":"\u20ac5.00"}],"subtotal":"\u20ac5.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac5.00","tags":[],"payment_details":"","notes":"","state":"draft","permalink":"http://localhost:3000/estimate/f049036ab6504548aed34d59ad58fea7bc08d266","url":"http://localhost:3000/recrea/api/v1/estimates/21.json"},{"id":22,"number":"0000009","issue_date":"2013-03-24","contact":{"id":4,"full_name":"Test_OCP Doe"},"po_number":"","currency":"EUR","items":[{"description":"Tarta de fresa","quantity":"1.0","unit_price":"5.0","discount_rate":"0.0","tax_1_name":"","tax_1_rate":null,"tax_2_name":"","tax_2_rate":null,"subtotal":"\u20ac5.00","discount":"\u20ac0.00","gross_amount":"\u20ac5.00"}],"subtotal":"\u20ac5.00","discount":"\u20ac0.00","taxes":[],"total":"\u20ac5.00","tags":[],"payment_details":"","notes":"","state":"invoiced","permalink":"http://localhost:3000/estimate/91992f05a4762c0a253ea34b51cbbe720fad82f4","url":"http://localhost:3000/recrea/api/v1/estimates/22.json"}]' http_version: '1.1' recorded_at: Tue, 14 May 2013 10:48:01 GMT - request: method: get uri: http://n8sDLUZ5z1d6dYXKixnx@localhost:3000/recrea/api/v1/ping.json body: encoding: US-ASCII string: '' headers: authorization: - Basic bjhzRExVWjV6MWQ2ZFlYS2l4bng6 response: status: code: 200 message: OK headers: x-ratelimit-limit: - '1000' x-ratelimit-remaining: - '884' content-type: - application/json; charset=utf-8 x-ua-compatible: - IE=Edge etag: - ! '"0c776997933eb60833b37beaf43814c8"' cache-control: - max-age=0, private, must-revalidate x-request-id: - 6f9a3329a7229ac686425c804117225c x-runtime: - '0.059732' connection: - close server: - thin 1.5.0 codename Knife body: encoding: US-ASCII string: ! '{"status":"OK"}' http_version: '1.1' recorded_at: Tue, 14 May 2013 10:48:01 GMT - request: method: get uri: http://n8sDLUZ5z1d6dYXKixnx@localhost:3000/recrea/api/v1/estimates/15/deliver.json body: encoding: US-ASCII string: '' headers: authorization: - Basic bjhzRExVWjV6MWQ2ZFlYS2l4bng6 response: status: code: 200 message: OK headers: x-ratelimit-limit: - '1000' x-ratelimit-remaining: - '883' content-type: - application/json; charset=utf-8 x-ua-compatible: - IE=Edge etag: - ! '"17a6d164f3d008afd60b2f10a7535828"' cache-control: - max-age=0, private, must-revalidate x-request-id: - 27caeab8414c4deecf37a3fac4137b50 x-runtime: - '0.138798' connection: - close server: - thin 1.5.0 codename Knife body: encoding: US-ASCII string: ! '{"estimate":{"account_id":1,"amount_paid_cents":0,"contact_id":4,"contact_name":"Test_OCP Doe","created_at":"2013-04-25T10:41:51Z","currency":"EUR","delivery":null,"document_id":null,"due_date":null,"due_days":null,"end_date":null,"exchange_cents":null,"exchange_rate":"1.0","frequency":null,"gross_amount_cents":3300,"id":15,"issue_date":"2013-04-25","notes":"","number":"0000007","payment_details":"Show me the moneeeeeeeyy!!!!","permalink":"91b1ab60bc88b87973bb9c03d668f6ceebb30137","po_number":"","recurring_document":null,"renewal_date":null,"start_date":null,"state":"draft","total_cents":3300,"updated_at":"2013-05-14T10:00:48Z","valid_until":null}}' http_version: '1.1' recorded_at: Tue, 14 May 2013 10:48:02 GMT recorded_with: VCR 2.3.0