Sha256: 193b45e7e8ca9df854f1e672e84ee830cbabeadfb68e43279ad16f3be3e737ce

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 KB

Contents

--- 
recorded_with: VCR 2.4.0
http_interactions: 
- request: 
    method: get
    uri: https://admin-dev.mailroute.net/api/v1/admins/customer/11372/admin/9252/
    body: 
      string: ""
    headers: 
      Authorization: 
      - ApiKey test_ruby:93ec480a01deb532ffb592ba711013e14422c4f1
      Accept: 
      - application/json
  response: 
    status: 
      code: 200
      message: OK
    headers: 
      Server: 
      - nginx/1.2.6
      Connection: 
      - keep-alive
      Cache-Control: 
      - no-cache
      Date: 
      - Thu, 02 May 2013 21:01:55 GMT
      Transfer-Encoding: 
      - chunked
      Content-Type: 
      - application/json; charset=utf-8
      Vary: 
      - Accept, Cookie
      - Accept-Encoding
    body: 
      string: "{\"customer\": null, \"date_joined\": \"Wed, 1 May 2013 12:03:04 -0700\", \"email\": \"admin@example.com\", \"id\": 9252, \"is_active\": true, \"last_login\": \"Wed, 1 May 2013 12:03:04 -0700\", \"reseller\": null, \"resource_uri\": \"/api/v1/admins/customer/11372/admin/9252/\", \"send_welcome\": null, \"username\": \"admin@example.com\"}"
    http_version: 
  recorded_at: Thu, 02 May 2013 21:01:57 GMT
- request: 
    method: post
    uri: https://admin-dev.mailroute.net/api/v1/admins/customer/11372/admin/9252/regenerate_api_key/
    body: 
      string: ""
    headers: 
      Authorization: 
      - ApiKey test_ruby:93ec480a01deb532ffb592ba711013e14422c4f1
      Content-Type: 
      - application/json
      Accept: 
      - "*/*"
  response: 
    status: 
      code: 202
      message: ACCEPTED
    headers: 
      Server: 
      - nginx/1.2.6
      Connection: 
      - keep-alive
      Date: 
      - Thu, 02 May 2013 21:01:57 GMT
      Transfer-Encoding: 
      - chunked
      Content-Type: 
      - application/json
      Vary: 
      - Accept, Cookie
    body: 
      string: "{\"api_key\": \"f524aa71c3976423fb905fe5e6afe1ef72292931\"}"
    http_version: 
  recorded_at: Thu, 02 May 2013 21:01:59 GMT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailroute-0.0.6 spec/vcr_cassettes/Mailroute_Admin/_regenerate_api_key/an_admin/regenerating_api_key/.yml
mailroute-0.0.5 spec/vcr_cassettes/Mailroute_Admin/_regenerate_api_key/an_admin/regenerating_api_key/.yml
mailroute-0.0.4 spec/vcr_cassettes/Mailroute_Admin/_regenerate_api_key/an_admin/regenerating_api_key/.yml