--- http_interactions: - request: method: post uri: https://.namely.com/api/v1/oauth2/token?redirect_uri= body: encoding: US-ASCII string: grant_type=refresh_token&client_id=&client_secret=&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