Sha256: cf048d98b15a0eb7a3f99009183b81f84bd9c2dd50c9d869f3ece1e1903c90cf

Contents?: true

Size: 1.41 KB

Versions: 6

Compression:

Stored size: 1.41 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://<TEST_SUBDOMAIN>.namely.com/api/v1/oauth2/token?redirect_uri=<CLIENT_REDIRECT_URI>
    body:
      encoding: US-ASCII
      string: grant_type=refresh_token&client_id=<CLIENT_ID>&client_secret=<CLIENT_SECRET>&refresh_token=<TEST_REFRESH_TOKEN>
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      Content-Length:
      - '193'
      Content-Type:
      - application/x-www-form-urlencoded
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - no-store
      Content-Type:
      - application/json
      Date:
      - Tue, 04 Nov 2014 17:06:29 GMT
      Etag:
      - '"c4566dc1eddea53969e88a3bc69cdfb3"'
      Pragma:
      - no-cache
      Server:
      - nginx/1.6.2
      Status:
      - 200 OK
      Strict-Transport-Security:
      - max-age=31536000
      - max-age=31536000; includeSubDomains;
      X-Rack-Cache:
      - invalidate, pass
      X-Request-Id:
      - e2d5a360-d44d-4198-8528-ceb6ad91bd6c
      X-Runtime:
      - '0.045489'
      Content-Length:
      - '90'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"access_token":"<%= access_token %>","token_type":"bearer","expires_in":899}'
    http_version: 
  recorded_at: Tue, 04 Nov 2014 17:06:29 GMT
recorded_with: VCR 2.9.3

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
namely-0.2.4 spec/fixtures/vcr_cassettes/token_refresh.yml
namely-0.2.3 spec/fixtures/vcr_cassettes/token_refresh.yml
namely-0.2.2 spec/fixtures/vcr_cassettes/token_refresh.yml
namely-0.2.1 spec/fixtures/vcr_cassettes/token_refresh.yml
namely-0.1.0 spec/fixtures/vcr_cassettes/token_refresh.yml
namely-0.0.1 spec/fixtures/vcr_cassettes/token_refresh.yml