Sha256: fc153ac5a111129c96d2850654a5cb64129366ab4e5badba8c905808c9230c91

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.zeropush.com/notify
    body:
      encoding: US-ASCII
      string: device_tokens%5B%5D=abc&alert=hi
    headers:
      Authorization:
      - Token token="test_token"
      User-Agent:
      - Faraday v0.8.8
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: 
    headers:
      server:
      - nginx/1.2.6
      date:
      - Thu, 06 Jun 2013 20:13:18 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,chrome=1
      etag:
      - ! '"58f271cd44a149e655e5c75c6ac3d588"'
      cache-control:
      - max-age=0, private, must-revalidate
      set-cookie:
      - _zero-push-session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTAyN2ZlNmZiYmE2NDAwZTAwNDhkZjljMDhjOTk5MDMzBjsAVA%3D%3D--123a1dc1afeac26db5bea15eea8574e82e0d91b2;
        path=/; secure; HttpOnly
      x-request-id:
      - cb7a26e273628f7f0c9f3c4bbcfb5007
      x-runtime:
      - '0.045243'
      x-rack-cache:
      - invalidate, pass
      x-powered-by:
      - Phusion Passenger 4.0.2
    body:
      encoding: US-ASCII
      string: ! '{"sent_count":0,"inactive_tokens":[],"unregistered_tokens":["abc"]}'
    http_version: 
  recorded_at: Thu, 06 Jun 2013 20:13:18 GMT
recorded_with: VCR 2.4.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zero_push-2.1.0 spec/fixtures/notify.yml
zero_push-2.0.0 spec/fixtures/notify.yml
zero_push-1.3.0 spec/fixtures/notify.yml