test/vcr/cassettes/store/search.yml in access-2.2.0 vs test/vcr/cassettes/store/search.yml in access-2.3.0.pre.rc1

- old
+ new

@@ -6,30 +6,28 @@ 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:07 GMT + - Sun, 01 Jul 2018 04:23:33 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,56 +38,61 @@ - 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: + - '9947' Etag: - - '"7c92334b892c06d17052b72e50160a55"' + - '"e1401bf49d161ae7786c319a47fb216e"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - b72b9f16-9c46-4196-95c3-04741c42c284 + - d7478ee0-fdb3-41eb-9eb4-52e4e18710ec X-Runtime: - - '0.015883' + - '0.011331' body: - encoding: UTF-8 - string: |- - { - "info": { - "total_results": 26312, - "current_page": 1, - "total_pages": 26312, - "results_per_page": 1 - }, - "stores": [ - { - "search_relevance": 1.0, - "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": { - "show_store": "https://offer-stage.adcrws.com/v1/stores/261817158", - "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" - } - } - ], - "links": { - "next_page": "https://offer-stage.adcrws.com/v1/stores?member_key=API_RUBY_GEM_TEST&page=2&per_page=1" - } - } + encoding: ASCII-8BIT + string: !binary |- + ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAyNzE2OCwKICAg + ICJjdXJyZW50X3BhZ2UiOiAxLAogICAgInRvdGFsX3BhZ2VzIjogMjcxNjgs + CiAgICAicmVzdWx0c19wZXJfcGFnZSI6IDEKICB9LAogICJzdG9yZXMiOiBb + CiAgICB7CiAgICAgICJzZWFyY2hfcmVsZXZhbmNlIjogMS4wLAogICAgICAi + c3RvcmVfa2V5IjogMTg5OTUwNjgsCiAgICAgICJuYW1lIjogIkF1dG8gV29y + a3MiLAogICAgICAiZGVzY3JpcHRpb24iOiAiTG9jYWxseSBvd25lZCBhbmQg + b3BlcmF0ZWQsIFdheW5lIFdhdHNvbiBmb3VuZGVkIEF1dG8gV29ya3MgQXV0 + b21vdGl2ZSBTZXJ2aWNlIENlbnRlciBpbiAxOTkzLiBBdXRvIFdvcmtzIHNl + cnZpY2VzIGFsbCB2ZWhpY2xlcywgcHJvdmlkZXMgY29tcGxldGUgYXV0b21v + dGl2ZSByZXBhaXIsIG9pbCBjaGFuZ2VzLCBhdXRvIG1haW50ZW5hbmNlLCB2 + ZWhpY2xlIGluc3BlY3Rpb25zLCBjb21wdXRlciBkaWFnbm9zdGljcywgdGlt + aW5nIGJlbHRzLCBicmFrZXMsIHdhdGVyIHB1bXBzIGFuZCBtb3JlLsKgIEZy + b20gYSBjaGVjayBlbmdpbmUgbGlnaHQgZGlhZ25vc3RpYyB0byBhbiBvaWwg + Y2hhbmdlLCB3ZSBzdHJpdmUgdG8gYmUgdGhlIGJlc3QgQXV0byBSZXBhaXIg + U2VydmljZSBpbiB0aGUgV29vZGJ1cnkgYXJlYS7CoCBXZSBmaXggaXQgcmln + aHQgdGhlIGZpcnN0IHRpbWUuwqAgV2UncmUgcmVwdXRhYmxlIGFuZCB0cnVz + dCB3b3J0aHkgYmVjYXVzZSB0aG9zZSBhcmUgdGhlIHZhbHVlcyB3ZSBzdGFu + ZCBieSEiLAogICAgICAibG9nb191cmwiOiAiaHR0cHM6Ly9zdGF0aWMtc3Rh + Z2UuYWNjZXNzZGV2ZWxvcG1lbnQuY29tL2JyYW5kL2NiM2IxOGVlNjhjNDU4 + ZTFmMDRlMThlNmEyOThlYjk2YTNlOGFmMjMvb3JpZ2luYWwucG5nIiwKICAg + ICAgIm5hdGlvbmFsIjogZmFsc2UsCiAgICAgICJhY3RpdmVfbG9jYXRpb25f + Y291bnQiOiAxLAogICAgICAiYWN0aXZlX29mZmVyX2NvdW50IjogMSwKICAg + ICAgInN0b3JlX2NhdGVnb3JpZXMiOiBbCiAgICAgICAgewogICAgICAgICAg + ImNhdGVnb3J5X25hbWUiOiAiQXV0byBTZXJ2aWNlICYgUmVwYWlyIiwKICAg + ICAgICAgICJjYXRlZ29yeV9rZXkiOiAxMDAyLAogICAgICAgICAgImNhdGVn + b3J5X3BhcmVudF9rZXkiOiA1MSwKICAgICAgICAgICJjYXRlZ29yeV9wYXJl + bnRfbmFtZSI6ICJBdXRvbW90aXZlIiwKICAgICAgICAgICJjYXRlZ29yeV90 + eXBlIjogInN1YmNhdGVnb3J5IgogICAgICAgIH0KICAgICAgXSwKICAgICAg + ImxpbmtzIjogewogICAgICAgICJzaG93X3N0b3JlIjogImh0dHBzOi8vb2Zm + ZXItc3RhZ2UuYWRjcndzLmNvbS92MS9zdG9yZXMvMTg5OTUwNjgiLAogICAg + ICAgICJmaW5kX29mZmVyc19mb3JfdGhpc19zdG9yZSI6ICJodHRwczovL29m + ZmVyLXN0YWdlLmFkY3J3cy5jb20vdjEvb2ZmZXJzP3N0b3JlX2tleT0xODk5 + NTA2OCIsCiAgICAgICAgImZpbmRfbG9jYXRpb25zX2Zvcl90aGlzX3N0b3Jl + IjogImh0dHBzOi8vb2ZmZXItc3RhZ2UuYWRjcndzLmNvbS92MS9sb2NhdGlv + bnM/c3RvcmVfa2V5PTE4OTk1MDY4IgogICAgICB9CiAgICB9CiAgXSwKICAi + bGlua3MiOiB7CiAgICAibmV4dF9wYWdlIjogImh0dHBzOi8vb2ZmZXItc3Rh + Z2UuYWRjcndzLmNvbS92MS9zdG9yZXM/bWVtYmVyX2tleT1BUElfUlVCWV9H + RU1fVEVTVCZwYWdlPTImcGVyX3BhZ2U9MSIKICB9Cn0= 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:33 GMT +recorded_with: VCR 4.0.0