Sha256: f107c7750200e668c0ac5a36cf9ed99e1810dbcce235d7ce5be4321cb08771e6

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://staging.zeropush.com/api/notify
    body:
      encoding: US-ASCII
      string: device_tokens%5B%5D=abc&alert=hi
    headers:
      Authorization:
      - Token token="acEJeDVC8if6XCxwe2js"
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: 
    headers:
      cache-control:
      - max-age=0, private, must-revalidate
      content-type:
      - application/json; charset=utf-8
      etag:
      - ! '"4548a4f1a11a241120f97a1c3737817a"'
      server:
      - thin 1.5.0 codename Knife
      set-cookie:
      - _zero-push-session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWNhNjk0MThlNTkyN2U2MDU0OGI1NmNhMjRlYTM0NDAyBjsAVA%3D%3D--c2725a3ea06e0f18296784b9755884f9a2b00a72;
        path=/; HttpOnly
      x-request-id:
      - dfa3796a4db1cd63769e5618057d2d67
      x-runtime:
      - '0.045433'
      x-ua-compatible:
      - IE=Edge
      transfer-encoding:
      - chunked
      connection:
      - Close
    body:
      encoding: US-ASCII
      string: ! '{"message":"ok"}'
    http_version: 
  recorded_at: Wed, 20 Feb 2013 23:03:03 GMT
recorded_with: VCR 2.4.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zero_push-0.0.2 spec/fixtures/notify.yml
zero_push-0.0.1 spec/fixtures/notify.yml