Sha256: bd071f40595dd0013c1ec9ac4df1a75e8ab4716f488af2d35f1b3f0d569eb27c

Contents?: true

Size: 1.41 KB

Versions: 3

Compression:

Stored size: 1.41 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.zeropush.com/set_badge
    body:
      encoding: US-ASCII
      string: device_token=abc&badge=10
    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:
      - Fri, 09 Aug 2013 00:57:11 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=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTdmMmJkMTRmNzVkNGI2NzI1ODA2MjlhMjdlZjdlYjAyBjsAVA%3D%3D--888243f320504a8621f826f76ec84ccb94f81b33;
        path=/; secure; HttpOnly
      x-request-id:
      - fdb9461a5c2e67b8553c871a31d72695
      x-runtime:
      - '0.021581'
      x-rack-cache:
      - invalidate, pass
      x-powered-by:
      - Phusion Passenger 4.0.2
    body:
      encoding: US-ASCII
      string: ! '{"message":"ok"}'
    http_version: 
  recorded_at: Fri, 09 Aug 2013 00:57:11 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/set_badge.yml
zero_push-2.0.0 spec/fixtures/set_badge.yml
zero_push-1.3.0 spec/fixtures/set_badge.yml