Sha256: 8614ca9daf6a3961cdffa5b40807d37feec5453e8a0b90635c27c8d22b4f5e4d

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://staging.zeropush.com/api/verify_credentials
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - Token token="acEJeDVC8if6XCxwe2js"
  response:
    status:
      code: 200
      message: 
    headers:
      cache-control:
      - max-age=0, private, must-revalidate
      content-type:
      - application/json; charset=utf-8
      etag:
      - ! '"bbc00bc5788d6413a28d1683b0a330a3"'
      server:
      - thin 1.5.0 codename Knife
      x-request-id:
      - 776405c320e0d1318c78d6989d06b34f
      x-runtime:
      - '0.985610'
      x-ua-compatible:
      - IE=Edge
      transfer-encoding:
      - chunked
      connection:
      - Close
    body:
      encoding: US-ASCII
      string: ! '{"message":"authenticated"}'
    http_version: 
  recorded_at: Fri, 22 Feb 2013 17:18:25 GMT
- request:
    method: get
    uri: https://staging.zeropush.com/api/verify_credentials
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - Token token="not a valid token"
  response:
    status:
      code: 401
      message: 
    headers:
      cache-control:
      - no-cache
      content-type:
      - application/json; charset=utf-8
      server:
      - thin 1.5.0 codename Knife
      x-request-id:
      - 5e4241c1726d55b8ddfdb04571f55394
      x-runtime:
      - '0.039947'
      x-ua-compatible:
      - IE=Edge
      transfer-encoding:
      - chunked
      connection:
      - Close
    body:
      encoding: US-ASCII
      string: ! '{"error":"unauthorized"}'
    http_version: 
  recorded_at: Fri, 22 Feb 2013 17:28:37 GMT
recorded_with: VCR 2.4.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zero_push-0.0.2 spec/fixtures/verify_credentials.yml