Sha256: 6df416e5f0ba771096360881e83b9914a549f8da12640c7f453ec9787a1ef94c

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://redbooth.com/oauth2/token
    body:
      encoding: UTF-8
      string: client_id=_your_consumer_key_&client_secret=_your_consumer_secret_&grant_type=refresh_token&refresh_token=_your_user_refresh_token_
    headers:
      User-Agent:
      - Faraday v0.9.1
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      Cache-Control:
      - no-store
      Content-Type:
      - application/json; charset=utf-8
      Date:
      - Tue, 17 Feb 2015 19:04:21 GMT
      Pragma:
      - no-cache
      Server:
      - nginx
      Status:
      - 200 OK
      Vary:
      - Accept-Encoding
      - Accept-Encoding
      X-Rack-Cache:
      - invalidate, pass
      X-Request-Id:
      - ae886c7b4f2c7fed8d6777b92282938d
      X-Runtime:
      - '0.098434'
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Content-Length:
      - '185'
      Connection:
      - keep-alive
    body:
      encoding: ASCII-8BIT
      string: '{"access_token":"_your_new_user_token_","token_type":"bearer","expires_in":7200,"refresh_token":"_your_new_user_refresh_token_","scope":"all"}'
    http_version:
  recorded_at: Tue, 17 Feb 2015 19:04:22 GMT
recorded_with: VCR 2.9.3

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redbooth-ruby-0.2.3 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml
redbooth-ruby-0.2.2 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml
redbooth-ruby-0.2.1 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml
redbooth-ruby-0.2.0 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml
redbooth-ruby-0.1.4 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml
redbooth-ruby-0.1.3 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml
redbooth-ruby-0.1.1 spec/cassettes/RedboothRuby_Session/_refresh_access_token_/refreshes_the_access_token/.yml