Sha256: 1cc2c0a9e5b92663522dba1cf861e1985ebd7645ba3f04a44cd5703e02d7011d

Contents?: true

Size: 1.82 KB

Versions: 6

Compression:

Stored size: 1.82 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://offer-demo.adcrws.com/v1/offers/7365285/uses_remaining?member_key=API_RUBY_GEM_TEST
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Access-Token:
      - ACCESS_TOKEN
      Content-Type:
      - application/json
      Accept:
      - application/json
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx/1.8.0
      Date:
      - Thu, 21 Jan 2016 18:34:38 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Access-Control-Allow-Methods:
      - POST, GET, PUT, DELETE, OPTIONS
      Access-Control-Request-Method:
      - GET
      Access-Control-Allow-Headers:
      - Origin,  X-Requested-With, Content-Type, Accept, Authorization, Access-Token
      Access-Control-Max-Age:
      - '1728000'
      Etag:
      - '"43adb36f3dceb81b99ae25b3ddcf48b3"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - e1560b62-d387-4883-8058-29e3e93a1459
      X-Runtime:
      - '0.054190'
    body:
      encoding: UTF-8
      string: |-
        {
          "offers": [
            {
              "offer_uses_remaining": {
                "offer_key": 7365285,
                "uses_this_period": 100,
                "uses_remaining": "unlimited",
                "number_of_uses_remaining": null,
                "last_used_on_date": "2016-01-21T18:14:56.000Z",
                "next_available_use_date": null,
                "usable": true
              }
            }
          ]
        }
    http_version: 
  recorded_at: Thu, 21 Jan 2016 18:34:43 GMT
recorded_with: VCR 3.0.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
access-2.0.48 test/vcr/cassettes/offer_find_uses_remaining.yml
access-2.0.47 test/vcr/cassettes/offer_find_uses_remaining.yml
access-2.0.46 test/vcr/cassettes/offer_find_uses_remaining.yml
access-2.0.44 test/vcr/cassettes/offer_find_uses_remaining.yml
access-2.0.43 test/vcr/cassettes/offer_find_uses_remaining.yml
access-2.0.42 test/vcr/cassettes/offer_find_uses_remaining.yml