--- http_interactions: - request: method: post uri: https://.namely.com/api/v1/oauth2/token?redirect_uri= body: encoding: US-ASCII string: grant_type=authorization_code&client_id=&client_secret=&code= headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '189' 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: - Wed, 05 Nov 2014 19:34:30 GMT Etag: - '"d5351a93b070c18ad88f3eb2c60ec3cc"' 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: - 22bf7278-55c0-44bc-81b5-daac511edc48 X-Runtime: - '0.065517' Content-Length: - '141' Connection: - keep-alive body: encoding: UTF-8 string: '{"access_token":"<%= access_token %>","refresh_token":"<%= refresh_token %>","token_type":"bearer","expires_in":899}' http_version: recorded_at: Wed, 05 Nov 2014 19:34:30 GMT recorded_with: VCR 2.9.3