Sha256: 624bdfcf708314eb4b427df9cc85a7da0ff4cc9b847d99f32369aba548480d7e

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://offer-stage.adcrws.com/v1/offers/7354635/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.12.2
      Date:
      - Sun, 01 Jul 2018 04:24:15 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      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'
      X-Ratelimit-Limit:
      - '10000'
      X-Ratelimit-Remaining:
      - '9907'
      Etag:
      - '"3b79eaf13d8a65543f4392eedf4abd75"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 4eca6e00-4e6a-4f9c-8cad-4c44e412564d
      X-Runtime:
      - '0.020275'
    body:
      encoding: UTF-8
      string: |-
        {
          "offers": [
            {
              "offer_uses_remaining": {
                "offer_key": 7354635,
                "uses_this_period": 48,
                "uses_remaining": "unlimited",
                "number_of_uses_remaining": null,
                "last_used_on_date": "2018-06-30T22:19:23.000Z",
                "next_available_use_date": null,
                "usable": true
              }
            }
          ]
        }
    http_version: 
  recorded_at: Sun, 01 Jul 2018 04:24:15 GMT
recorded_with: VCR 4.0.0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
access-2.3.0.pre.rc2 test/vcr/cassettes/offer/find_uses_remaining.yml
access-2.3.0.pre.rc1 test/vcr/cassettes/offer/find_uses_remaining.yml