test/vcr/cassettes/store/find.yml in access-2.2.0 vs test/vcr/cassettes/store/find.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/stores/261817158?member_key=API_RUBY_GEM_TEST + uri: https://offer-stage.adcrws.com/v1/stores/18995068?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:17:06 GMT + - Sun, 01 Jul 2018 04:23:31 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,51 +38,56 @@ - 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: + - '9950' Etag: - - '"f6b951165a0cdb117299c604f89ddd55"' + - '"a45d959949592a51c071733c24099758"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - e79017fc-4beb-46f9-b07c-f7796ac2cf03 + - 8f8fd2d4-869d-4599-8d0b-4990fb10b6a8 X-Runtime: - - '0.014076' + - '0.009946' body: - encoding: UTF-8 - string: |- - { - "info": { - "total_results": 1, - "current_page": 1, - "total_pages": 1, - "results_per_page": 1 - }, - "stores": [ - { - "store_key": 261817158, - "name": "Pho 85", - "description": "", - "logo_url": "https://static-demo.accessdevelopment.com/icons/store.png", - "national": false, - "active_location_count": 1, - "active_offer_count": 1, - "store_categories": [ - { - "category_name": "Casual & Fine Dining", - "category_key": 1009, - "category_parent_key": 39, - "category_parent_name": "Dining & Food", - "category_type": "subcategory" - } - ], - "links": { - "find_offers_for_this_store": "https://offer-stage.adcrws.com/v1/offers?store_key=261817158", - "find_locations_for_this_store": "https://offer-stage.adcrws.com/v1/locations?store_key=261817158" - } - } - ] - } + encoding: ASCII-8BIT + string: !binary |- + ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAxLAogICAgImN1 + cnJlbnRfcGFnZSI6IDEsCiAgICAidG90YWxfcGFnZXMiOiAxLAogICAgInJl + c3VsdHNfcGVyX3BhZ2UiOiAxMAogIH0sCiAgInN0b3JlcyI6IFsKICAgIHsK + ICAgICAgInN0b3JlX2tleSI6IDE4OTk1MDY4LAogICAgICAibmFtZSI6ICJB + dXRvIFdvcmtzIiwKICAgICAgImRlc2NyaXB0aW9uIjogIkxvY2FsbHkgb3du + ZWQgYW5kIG9wZXJhdGVkLCBXYXluZSBXYXRzb24gZm91bmRlZCBBdXRvIFdv + cmtzIEF1dG9tb3RpdmUgU2VydmljZSBDZW50ZXIgaW4gMTk5My4gQXV0byBX + b3JrcyBzZXJ2aWNlcyBhbGwgdmVoaWNsZXMsIHByb3ZpZGVzIGNvbXBsZXRl + IGF1dG9tb3RpdmUgcmVwYWlyLCBvaWwgY2hhbmdlcywgYXV0byBtYWludGVu + YW5jZSwgdmVoaWNsZSBpbnNwZWN0aW9ucywgY29tcHV0ZXIgZGlhZ25vc3Rp + Y3MsIHRpbWluZyBiZWx0cywgYnJha2VzLCB3YXRlciBwdW1wcyBhbmQgbW9y + ZS7CoCBGcm9tIGEgY2hlY2sgZW5naW5lIGxpZ2h0IGRpYWdub3N0aWMgdG8g + YW4gb2lsIGNoYW5nZSwgd2Ugc3RyaXZlIHRvIGJlIHRoZSBiZXN0IEF1dG8g + UmVwYWlyIFNlcnZpY2UgaW4gdGhlIFdvb2RidXJ5IGFyZWEuwqAgV2UgZml4 + IGl0IHJpZ2h0IHRoZSBmaXJzdCB0aW1lLsKgIFdlJ3JlIHJlcHV0YWJsZSBh + bmQgdHJ1c3Qgd29ydGh5IGJlY2F1c2UgdGhvc2UgYXJlIHRoZSB2YWx1ZXMg + d2Ugc3RhbmQgYnkhIiwKICAgICAgImxvZ29fdXJsIjogImh0dHBzOi8vc3Rh + dGljLXN0YWdlLmFjY2Vzc2RldmVsb3BtZW50LmNvbS9icmFuZC9jYjNiMThl + ZTY4YzQ1OGUxZjA0ZTE4ZTZhMjk4ZWI5NmEzZThhZjIzL29yaWdpbmFsLnBu + ZyIsCiAgICAgICJuYXRpb25hbCI6IGZhbHNlLAogICAgICAiYWN0aXZlX2xv + Y2F0aW9uX2NvdW50IjogMSwKICAgICAgImFjdGl2ZV9vZmZlcl9jb3VudCI6 + IDEsCiAgICAgICJzdG9yZV9jYXRlZ29yaWVzIjogWwogICAgICAgIHsKICAg + ICAgICAgICJjYXRlZ29yeV9uYW1lIjogIkF1dG8gU2VydmljZSAmIFJlcGFp + ciIsCiAgICAgICAgICAiY2F0ZWdvcnlfa2V5IjogMTAwMiwKICAgICAgICAg + ICJjYXRlZ29yeV9wYXJlbnRfa2V5IjogNTEsCiAgICAgICAgICAiY2F0ZWdv + cnlfcGFyZW50X25hbWUiOiAiQXV0b21vdGl2ZSIsCiAgICAgICAgICAiY2F0 + ZWdvcnlfdHlwZSI6ICJzdWJjYXRlZ29yeSIKICAgICAgICB9CiAgICAgIF0s + CiAgICAgICJsaW5rcyI6IHsKICAgICAgICAiZmluZF9vZmZlcnNfZm9yX3Ro + aXNfc3RvcmUiOiAiaHR0cHM6Ly9vZmZlci1zdGFnZS5hZGNyd3MuY29tL3Yx + L29mZmVycz9zdG9yZV9rZXk9MTg5OTUwNjgiLAogICAgICAgICJmaW5kX2xv + Y2F0aW9uc19mb3JfdGhpc19zdG9yZSI6ICJodHRwczovL29mZmVyLXN0YWdl + LmFkY3J3cy5jb20vdjEvbG9jYXRpb25zP3N0b3JlX2tleT0xODk5NTA2OCIK + ICAgICAgfQogICAgfQogIF0KfQ== http_version: - recorded_at: Mon, 22 Feb 2016 20:17:09 GMT -recorded_with: VCR 3.0.1 + recorded_at: Sun, 01 Jul 2018 04:23:31 GMT +recorded_with: VCR 4.0.0