Sha256: bb7105ddcb18adcce83b77794044d5e65ae15c783a1038cb59b69bc6442752ba

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.espago.com/api/clients
    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
      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:
      - '"9349f390e3c220e18dfdc65209505475"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _session_id=a624e5bd2da96cdb6a584bc3a8794ff8; path=/; HttpOnly
      X-Request-Id:
      - a2690a83deed494fb104958f1c95e4fe
      X-Runtime:
      - '0.458806'
      Connection:
      - close
      Server:
      - thin 1.5.0 codename Knife
    body:
      encoding: UTF-8
      string: '{"email":null,"id":"cli_ZmcL7nwmof5-Tx","created_at":1417007099,"description":null,"card":{"company":"VI","last4":"4242","year":2015,"month":2,"first_name":"Jan","last_name":"Kowalski","authorized":null,"created_at":1417007099},"deleted":false}'
    http_version:
  recorded_at: Wed, 26 Nov 2014 13:04:59 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/clients_post.yml
espago-0.1.10 spec/fixtures/cassettes/clients_post.yml
espago-0.1.9 spec/fixtures/cassettes/clients_post.yml