---
http_interactions:
- request:
    method: get
    uri: https://sendgrid.com/apiv2/customer.limit.json?credits=400&task=increment&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:55 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=80662f0b66fff4289001122b6884be79:ddc740180b536e7ddd6d78c2ae8f60fba12da65b;
        expires=Sun, 16-Feb-2014 01:24:55 GMT; path=/; httponly
      Vary:
      - Accept-Encoding
    body:
      encoding: UTF-8
      string: '{"message":"success"}'
    http_version: 
  recorded_at: Fri, 17 Jan 2014 01:24:55 GMT
- request:
    method: get
    uri: https://sendgrid.com/apiv2/customer.limit.json?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:57 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '77'
      Connection:
      - keep-alive
      X-Powered-By:
      - PHP/5.3.2-1ubuntu4.22
      Cache-Control:
      - no-cache, must-revalidate
      Expires:
      - '0'
      Set-Cookie:
      - sendgrid_frontend=59716d00147fb8d7a3809856c7bd9223:7947bc31788c4ac3cdc2d89d964027c035657485;
        expires=Sun, 16-Feb-2014 01:24:57 GMT; path=/; httponly
      Vary:
      - Accept-Encoding
    body:
      encoding: UTF-8
      string: '[{"credit":"0","credit_remain":"800","last_reset":"2014-01-16"}]'
    http_version: 
  recorded_at: Fri, 17 Jan 2014 01:24:57 GMT
recorded_with: VCR 2.8.0