--- http_interactions: - request: method: get uri: https://sendgrid.com/apiv2/customer.limit.json?api_key=pass&api_user=user&credits=400&period=daily&task=recurring&user=sendgrid_testuser3 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.8.9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - nginx/1.4.2 Date: - Fri, 17 Jan 2014 01:24:49 GMT Content-Type: - application/json Content-Length: - '46' Connection: - keep-alive X-Powered-By: - PHP/5.3.2-1ubuntu4.22 Cache-Control: - no-cache, must-revalidate Expires: - '0' Set-Cookie: - sendgrid_frontend=7f4f4b55c69d02613df3c8293e9e6ea1:ba24b026ee02ca873d52e7890cad27f34c15d47f; expires=Sun, 16-Feb-2014 01:24:49 GMT; path=/; httponly Vary: - Accept-Encoding body: encoding: UTF-8 string: '{"message":"success"}' http_version: recorded_at: Fri, 17 Jan 2014 01:24:49 GMT - request: method: get uri: https://sendgrid.com/apiv2/customer.limit.json?api_key=pass&api_user=user&task=retrieve&user=sendgrid_testuser3 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.8.9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - nginx/1.4.2 Date: - Fri, 17 Jan 2014 01:24:51 GMT Content-Type: - application/json Content-Length: - '76' Connection: - keep-alive X-Powered-By: - PHP/5.3.2-1ubuntu4.22 Cache-Control: - no-cache, must-revalidate Expires: - '0' Set-Cookie: - sendgrid_frontend=9d5c72792c4755dfc77ff0cea9b15041:927857dbee60d54bf9f9b1803ef9c531ae00b704; expires=Sun, 16-Feb-2014 01:24:51 GMT; path=/; httponly Vary: - Accept-Encoding body: encoding: UTF-8 string: '[{"credit":"400","credit_remain":"400","last_reset":"2014-01-16"}]' http_version: recorded_at: Fri, 17 Jan 2014 01:24:51 GMT recorded_with: VCR 2.8.0