Sha256: 5dcff0ce8300c33c5b4078e73aaacdf836782a25a2d20a7c18e2859925d34e76

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.zeropush.com/register
    body:
      encoding: US-ASCII
      string: device_token=abc
    headers:
      Authorization:
      - Token token="test_token"
      User-Agent:
      - Faraday v0.8.7
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: 
    headers:
      server:
      - nginx/1.2.6
      date:
      - Thu, 08 Aug 2013 23:50:40 GMT
      content-type:
      - application/json; charset=utf-8
      transfer-encoding:
      - chunked
      connection:
      - close
      status:
      - 200 OK
      strict-transport-security:
      - max-age=31536000
      x-ua-compatible:
      - IE=Edge
      etag:
      - ! '"4548a4f1a11a241120f97a1c3737817a"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _zero-push-session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWM0YWVlZjMxMWRlODM5OGI5MTk5MDQyZWZmNTc0YTg5BjsAVA%3D%3D--7832266b6f7ce258d10744496757e9d73192399d;
        path=/; secure; HttpOnly
      x-request-id:
      - 09b0b1f839a3648dd1de9617e80f7583
      x-runtime:
      - '0.018914'
      x-rack-cache:
      - invalidate, pass
      x-powered-by:
      - Phusion Passenger 4.0.2
    body:
      encoding: US-ASCII
      string: ! '{"message":"ok"}'
    http_version: 
  recorded_at: Thu, 08 Aug 2013 23:50:39 GMT
recorded_with: VCR 2.4.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zero_push-1.2.0 spec/fixtures/register.yml
zero_push-1.1.0 spec/fixtures/register.yml