--- http_interactions: - request: method: post uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/webhooks.json body: encoding: US-ASCII string: url=http%3A%2F%2Fgoogle.com&events_types[]=invoice.created&events_types[]=expense.updated headers: authorization: - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6 response: status: code: 201 message: Created headers: server: - nginx/1.4.5 date: - Fri, 13 Jun 2014 12:34:21 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 201 Created x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1501' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"31562dd72f63726cc2f3a801bb6672aa"' cache-control: - max-age=0, private, must-revalidate set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWMxYWVkNDIwYzI0ZTdmMDU4NTQ0Yjk4MGZmZDc0NDE2BjsAVA%3D%3D--3965afc619ffae4cd9c35681584dd584e4ec5b02; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - ddd56d8c06d0c5ae1ec50e9c003c5b76 x-runtime: - '0.303244' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: ! '{"id":28,"url":"http://google.com","auth_key":"jTdma26QqhzsF3j967YsTA","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-06-13T12:34:20Z","updated_at":"2014-06-13T12:34:20Z"}' http_version: '1.1' recorded_at: Fri, 13 Jun 2014 12:34:21 GMT - request: method: post uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/webhooks.json body: encoding: US-ASCII string: url=http%3A%2F%2Fquadernoapp.com&events_types[]=invoice.created&events_types[]=expense.updated headers: authorization: - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6 response: status: code: 201 message: Created headers: server: - nginx/1.4.5 date: - Fri, 13 Jun 2014 12:34:22 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 201 Created x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1500' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"8fde5046546a399d00da6d14e7a6218f"' cache-control: - max-age=0, private, must-revalidate set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTMyNzJmYTI4NjBkYzc2ZWFlZjlhNGE1NzBmMmI1ZGFmBjsAVA%3D%3D--f5d0aa11c0bbc4420e1af229a997ed6b51b05190; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - e52890e632c3b585743557a26e7156f0 x-runtime: - '0.477087' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: ! '{"id":29,"url":"http://quadernoapp.com","auth_key":"V_Gar4QoS8618UX2y2ZIGQ","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-06-13T12:34:22Z","updated_at":"2014-06-13T12:34:22Z"}' http_version: '1.1' recorded_at: Fri, 13 Jun 2014 12:34:22 GMT - request: method: get uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/webhooks.json body: encoding: US-ASCII string: '' headers: authorization: - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6 response: status: code: 200 message: OK headers: server: - nginx/1.4.5 date: - Fri, 13 Jun 2014 12:34:23 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 200 OK x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1499' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"1378f87b016667f11bba12043d5f4af1"' cache-control: - must-revalidate, private, max-age=0 x-request-id: - 79fb05a2ed109320b4d48ef40a846eab x-runtime: - '0.124663' x-rack-cache: - miss body: encoding: US-ASCII string: ! '[{"id":6,"url":"http://quadernoapp.com","auth_key":"ebL7LVbbJBVOwMSZCQz75A","events_types":["invoice.created","expense.updated"],"last_sent_at":"2014-06-13T12:29:43Z","last_error":null,"events_sent":7,"created_at":"2014-06-13T12:09:20Z","updated_at":"2014-06-13T12:09:20Z"},{"id":12,"url":"http://quadernoapp.com","auth_key":"CyZRqDK-ypNmYYeL0l1B0Q","events_types":["invoice.created","invoice.updated","contact.deleted"],"last_sent_at":"2014-06-13T12:33:03Z","last_error":null,"events_sent":16,"created_at":"2014-06-13T12:09:32Z","updated_at":"2014-06-13T12:09:34Z"},{"id":28,"url":"http://google.com","auth_key":"jTdma26QqhzsF3j967YsTA","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-06-13T12:34:20Z","updated_at":"2014-06-13T12:34:20Z"},{"id":29,"url":"http://quadernoapp.com","auth_key":"V_Gar4QoS8618UX2y2ZIGQ","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-06-13T12:34:22Z","updated_at":"2014-06-13T12:34:22Z"}]' http_version: '1.1' recorded_at: Fri, 13 Jun 2014 12:34:23 GMT - request: method: delete uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/webhooks/29.json body: encoding: US-ASCII string: '' headers: authorization: - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6 response: status: code: 204 message: No Content headers: server: - nginx/1.4.5 date: - Fri, 13 Jun 2014 12:34:23 GMT connection: - close status: - 204 No Content x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1498' x-ua-compatible: - IE=Edge,chrome=1 cache-control: - no-cache set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWU5ZjU3YTVhMjk2MjliN2VjMDE4YzNhZDE5NmM3ZTI0BjsAVA%3D%3D--df1d59b6d184b07c51891a835ea4f8788671b811; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - 62bd9a381acfc0cc2717fab95a446f5e x-runtime: - '0.100064' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: '' http_version: '1.1' recorded_at: Fri, 13 Jun 2014 12:34:23 GMT - request: method: get uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/webhooks.json body: encoding: US-ASCII string: '' headers: authorization: - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6 response: status: code: 200 message: OK headers: server: - nginx/1.4.5 date: - Fri, 13 Jun 2014 12:34:24 GMT content-type: - application/json; charset=utf-8 transfer-encoding: - chunked connection: - close status: - 200 OK x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1497' x-ua-compatible: - IE=Edge,chrome=1 etag: - ! '"c8352429038cd2fbbf25cd53554d093c"' cache-control: - must-revalidate, private, max-age=0 x-request-id: - 0f39d7be2a47e85702ac5e4e5714b94d x-runtime: - '0.103642' x-rack-cache: - miss body: encoding: US-ASCII string: ! '[{"id":6,"url":"http://quadernoapp.com","auth_key":"ebL7LVbbJBVOwMSZCQz75A","events_types":["invoice.created","expense.updated"],"last_sent_at":"2014-06-13T12:29:43Z","last_error":null,"events_sent":7,"created_at":"2014-06-13T12:09:20Z","updated_at":"2014-06-13T12:09:20Z"},{"id":12,"url":"http://quadernoapp.com","auth_key":"CyZRqDK-ypNmYYeL0l1B0Q","events_types":["invoice.created","invoice.updated","contact.deleted"],"last_sent_at":"2014-06-13T12:33:03Z","last_error":null,"events_sent":16,"created_at":"2014-06-13T12:09:32Z","updated_at":"2014-06-13T12:09:34Z"},{"id":28,"url":"http://google.com","auth_key":"jTdma26QqhzsF3j967YsTA","events_types":["invoice.created","expense.updated"],"last_sent_at":null,"last_error":null,"events_sent":0,"created_at":"2014-06-13T12:34:20Z","updated_at":"2014-06-13T12:34:20Z"}]' http_version: '1.1' recorded_at: Fri, 13 Jun 2014 12:34:24 GMT - request: method: delete uri: http://kAppsMggGcw8psUwdZBV@sandbox-quadernoapp.com/ninive-688/api/v1/webhooks/28.json body: encoding: US-ASCII string: '' headers: authorization: - Basic a0FwcHNNZ2dHY3c4cHNVd2RaQlY6 response: status: code: 204 message: No Content headers: server: - nginx/1.4.5 date: - Fri, 13 Jun 2014 12:34:24 GMT connection: - close status: - 204 No Content x-ratelimit-limit: - '2000' x-ratelimit-remaining: - '1496' x-ua-compatible: - IE=Edge,chrome=1 cache-control: - no-cache set-cookie: - _quaderno_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJTUzMDg2NmE2OTU3ZTdkN2NmNzQ2MmNhZGU5OGVhZGEyBjsAVA%3D%3D--cc2201926ecca55081fcc6db55632a5abf850e7b; domain=sandbox-quadernoapp.com; path=/; HttpOnly x-request-id: - 4ca748eb209a3717563d5120a0b31317 x-runtime: - '0.098393' x-rack-cache: - invalidate, pass body: encoding: US-ASCII string: '' http_version: '1.1' recorded_at: Fri, 13 Jun 2014 12:34:24 GMT recorded_with: VCR 2.9.2