Sha256: 0962ee713f07563f522ca864ff9dbde79be9253d548a4be3a9e6576958f5e336
Contents?: true
Size: 1.69 KB
Versions: 2
Compression:
Stored size: 1.69 KB
Contents
--- http_interactions: - request: method: post uri: https://app_public_key_test:@sandbox.espago.com/api/tokens body: encoding: US-ASCII string: card%5Bfirst_name%5D=Jan&card%5Blast_name%5D=Kowalski&card%5Bnumber%5D=4242424242424242&card%5Bverification_value%5D=123&card%5Byear%5D=2015&card%5Bmonth%5D=2 headers: Accept: - application/vnd.espago.v2+json 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: Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - POST,OPTIONS Access-Control-Allow-Headers: - Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,Authorization Content-Type: - application/json; charset=utf-8 X-Meta-Request-Version: - 0.2.2 X-Ua-Compatible: - IE=Edge Etag: - '"bebba4898713a5205954333a29c0e1cc"' Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - _session_id=255fbb3fda2057dc4cc956fe42d388b7; path=/; HttpOnly X-Request-Id: - fcb337aec80cff8ef25686049c0b46e7 X-Runtime: - '0.553115' Connection: - close Server: - thin 1.5.0 codename Knife body: encoding: UTF-8 string: '{"id":"cc_166YDMhrVcemFb3","created_at":1417029320,"used":false,"card":{"company":"VI","last4":"4242","year":2015,"month":2,"first_name":"Jan","last_name":"Kowalski","authorized":null,"created_at":1417029320}}' http_version: recorded_at: Wed, 26 Nov 2014 19:15:20 GMT recorded_with: VCR 2.9.3
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
espago-0.1.8 | spec/fixtures/cassettes/tokens_post.yml |
espago-0.1.2 | spec/fixtures/cassettes/tokens_post.yml |