test/vcr/cassettes/offer/find_uses_remaining.yml in access-2.2.0 vs test/vcr/cassettes/offer/find_uses_remaining.yml in access-2.3.0.pre.rc1
- old
+ new
@@ -1,35 +1,33 @@
---
http_interactions:
- request:
method: get
- uri: https://offer-stage.adcrws.com/v1/offers/13775493/uses_remaining?member_key=API_RUBY_GEM_TEST
+ 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
+ - "<ACCESS_TOKEN>"
Content-Type:
- application/json
Accept:
- application/json
response:
status:
code: 200
message: OK
headers:
Server:
- - nginx/1.8.0
+ - nginx/1.12.2
Date:
- - Mon, 22 Feb 2016 20:16:54 GMT
+ - Sun, 01 Jul 2018 04:24:15 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:
@@ -40,34 +38,38 @@
- 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:
- - '"ad271dfff84d3ce91cb4cfd101b129b1"'
+ - '"3b79eaf13d8a65543f4392eedf4abd75"'
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- - 0a930de1-b704-4fa7-b36e-19849eccf15a
+ - 4eca6e00-4e6a-4f9c-8cad-4c44e412564d
X-Runtime:
- - '0.023213'
+ - '0.020275'
body:
encoding: UTF-8
string: |-
{
"offers": [
{
"offer_uses_remaining": {
- "offer_key": 13775493,
- "uses_this_period": 2,
+ "offer_key": 7354635,
+ "uses_this_period": 48,
"uses_remaining": "unlimited",
"number_of_uses_remaining": null,
- "last_used_on_date": "2016-02-22T12:48:00.000Z",
+ "last_used_on_date": "2018-06-30T22:19:23.000Z",
"next_available_use_date": null,
"usable": true
}
}
]
}
http_version:
- recorded_at: Mon, 22 Feb 2016 20:16:56 GMT
-recorded_with: VCR 3.0.1
+ recorded_at: Sun, 01 Jul 2018 04:24:15 GMT
+recorded_with: VCR 4.0.0