Sha256: 78d51a840a1b51144ea94a5de3a57c690182ff46df6f5d246ec3b7f6c3e0b3c4

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://sandbox.espago.com/api/subscriptions
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/vnd.espago.v2+json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json; charset=utf-8
      X-Meta-Request-Version:
      - 0.2.2
      X-Ua-Compatible:
      - IE=Edge
      Etag:
      - '"e8b64babf491e15309cc95cc2db2d258"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      Set-Cookie:
      - _session_id=34e94b2812086a2c7f02e9c1a51d4b03; path=/; HttpOnly
      X-Request-Id:
      - bb518b642a4faf3f20c0be5da4259599
      X-Runtime:
      - '0.437633'
      Connection:
      - close
      Server:
      - thin 1.5.0 codename Knife
    body:
      encoding: UTF-8
      string: '{"count":1,"subscriptions":[{"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:13 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_get.yml
espago-0.1.10 spec/fixtures/cassettes/subscriptions_get.yml
espago-0.1.9 spec/fixtures/cassettes/subscriptions_get.yml