Sha256: b3acd7d11a99d1e3067f1080c592cef141cf995bc9561177ae43c5702abdeb5d
Contents?: true
Size: 1.59 KB
Versions: 3
Compression:
Stored size: 1.59 KB
Contents
--- http_interactions: - request: method: post uri: https://sandbox.espago.com/api/subscriptions body: encoding: US-ASCII string: plan=pl_12345&client=cli_90Pi6Jf0ndl_PP headers: Accept: - application/vnd.espago.v2+json Authorization: - Basic YXBwX2lkX3Rlc3Q6YXBwX3Bhc3N3b3JkX3Rlc3Q= Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json; charset=utf-8 X-Meta-Request-Version: - 0.2.2 X-Ua-Compatible: - IE=Edge Etag: - '"8a7a471581b59dfd11b76713db87dce9"' Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - _session_id=e1e08e4c938f82160380340d806c450d; path=/; HttpOnly X-Request-Id: - f95c468b308ee2f72f9726bf6cbd8be6 X-Runtime: - '3.763953' Connection: - close Server: - thin 1.5.0 codename Knife body: encoding: UTF-8 string: '{"id":"sub_8yYuCBKdywr7e2","state":"active","client":"cli_90Pi6Jf0ndl_PP","plan":"pl_12345","created_at":1417030496,"last_invoice":{"id":"in_tUCMhwlg2nkvAaL","date":1417030496,"client":"cli_90Pi6Jf0ndl_PP","subscription":"sub_8yYuCBKdywr7e2","amount":"123.45","currency":"pln","paid":true,"issuer_response_code":"00","attempts":1,"next_payment_attempt":null,"created_at":1417030497}}' http_version: recorded_at: Wed, 26 Nov 2014 19:35:00 GMT recorded_with: VCR 2.9.3
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
espago-0.1.11 | spec/fixtures/cassettes/subscriptions_post.yml |
espago-0.1.10 | spec/fixtures/cassettes/subscriptions_post.yml |
espago-0.1.9 | spec/fixtures/cassettes/subscriptions_post.yml |