test/vcr/cassettes/location/search.yml in access-2.2.0 vs test/vcr/cassettes/location/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:16:51 GMT + - Sun, 01 Jul 2018 04:24:26 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,84 +38,91 @@ - 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: + - '9887' Etag: - - '"1a008ceb3504fa0b96ac423ce7ac95fe"' + - '"f3f721155b8aac5625e2589097bd3c44"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - cb91078a-6b31-4de7-8200-06cf3aab4212 + - c31cd63c-22bb-4edf-b170-2bc386dd2834 X-Runtime: - - '0.024963' + - '0.020332' body: - encoding: ASCII-8BIT - string: !binary |- - ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAyNjg5NjEsCiAg - ICAiY3VycmVudF9wYWdlIjogMSwKICAgICJ0b3RhbF9wYWdlcyI6IDI2ODk2 - MSwKICAgICJyZXN1bHRzX3Blcl9wYWdlIjogMQogIH0sCiAgImxvY2F0aW9u - cyI6IFsKICAgIHsKICAgICAgInNlYXJjaF9yZWxldmFuY2UiOiAxLjAsCiAg - ICAgICJwaHlzaWNhbF9sb2NhdGlvbiI6IHsKICAgICAgICAibG9jYXRpb25f - bmFtZSI6ICJUYXF1ZXJpYSBOdWV2byBWYWxsYXJ0YSIsCiAgICAgICAgIndl - Yl9hZGRyZXNzIjogImh0dHA6Ly93d3cuYW5yZG9lenJzLm5ldC9jbGljay0x - ODM1NTMxLTEwNDUxNjEyP3VybD1odHRwJTNBJTJGJTJGd3d3LnJlc3RhdXJh - bnQuY29tJTJGbWljcm9zaXRlJTJGMjUwNjE3JTNGcHJ0aSUzRDE2NDciLAog - ICAgICAgICJkZXNjcmlwdGlvbiI6ICJNZXhpY2FuIGN1aXNpbmUgaGFzIGFs - d2F5cyBiZWVuIGFuIGV4Y2l0aW5nIGFuZCBmbGF2b3JmdWwgYWR2ZW50dXJl - IGZvciBwZW9wbGUgYWxsIGFyb3VuZCB0aGUgd29ybGQuIEV4cGVyaW1lbnRp - bmcgd2l0aCBhIHZhcmlldHkgb2YgZm9vZCBkaXNoZXMgd2lsbCBicmluZyB5 - b3UgY2xvc2VyIHRvIHRoZSBoaXN0b3J5IG9mIE1leGljYW4gY3Vpc2luZSBh - bmQgYWxsb3cgeW91IHRvIGVuam95IGFsbCB0aGUgcXVhbGl0aWVzIG9mIHRo - aXMgZ3JlYXQgY3VsdHVyZS4iLAogICAgICAgICJsb2NhdGlvbl9rZXkiOiA1 - NDExNDM1LAogICAgICAgICJwaG9uZV9udW1iZXIiOiAiMzYxNDYyNDQ1OSIs - CiAgICAgICAgInBvc3RhbF9jb2RlIjogIjc4NDExIiwKICAgICAgICAiY291 - bnRyeSI6ICJVUyIsCiAgICAgICAgInN0cmVldF9hZGRyZXNzIjogIjQxMTcg - UyBTdGFwbGVzIFN0IiwKICAgICAgICAiZXh0ZW5kZWRfc3RyZWV0X2FkZHJl - c3MiOiAiIiwKICAgICAgICAiY2l0eV9sb2NhbGl0eSI6ICJDb3JwdXMgQ2hy - aXN0aSIsCiAgICAgICAgInN0YXRlX3JlZ2lvbiI6ICJUWCIsCiAgICAgICAg - Imdlb2xvY2F0aW9uX2FycmF5IjogWwogICAgICAgICAgLTk3LjM4NTgsCiAg - ICAgICAgICAyNy43MzAwNAogICAgICAgIF0sCiAgICAgICAgImdlb2xvY2F0 - aW9uIjogewogICAgICAgIC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b2YgZWF0 - aW5nIG91dCB3aGlsZSBzcGVuZGluZyBsZXNzLiIsCiAgICAgICAgInN0b3Jl - X2tleSI6IDE4OTM5MTQ0CiAgICAgIH0sCiAgICAgICJsb2NhdGlvbl9jYXRl - Z29yaWVzIjogWwogICAgICAgIHsKICAgICAgICAgICJjYXRlZ29yeV9uYW1l - IjogIkNhc3VhbCAmIEZpbmUgRGluaW5nIiwKICAgICAgICAgICJjYXRlZ29y - eV9rZXkiOiAxMDA5LAogICAgICAgICAgImNhdGVnb3J5X3BhcmVudF9rZXki - OiAzOSwKICAgICAgICAgICJjYXRlZ29yeV9wYXJlbnRfbmFtZSI6ICJEaW5p - bmcgJiBGb29kIiwKICAgICAgICAgICJjYXRlZ29yeV90eXBlIjogInN1YmNh - dGVnb3J5IgogICAgICAgIH0KICAgICAgXSwKICAgICAgIm5hdGlvbmFsIjog - dHJ1ZSwKICAgICAgImxvZ29fdXJsIjogImh0dHBzOi8vc3RhdGljLXN0YWdl - LmFjY2Vzc2RldmVsb3BtZW50LmNvbS9icmFuZC83ODFmOGY3N2VmN2RhOTkw - MWJlNjZiMGY2ZTcxODc4MmRkMzE4NDdmL29yaWdpbmFsLnBuZyIsCiAgICAg - ICJsb2NhdGlvbl9waG90b3MiOiBbCgogICAgICBdLAogICAgICAiYWN0aXZl - X29mZmVyX2NvdW50IjogMSwKICAgICAgIm9mZmVyX2dyb3VwX2tleXMiOiBb - CiAgICAgICAgNDExNDg3OAogICAgICBdLAogICAgICAibGlua3MiOiB7CiAg - ICAgICAgInNob3dfbG9jYXRpb24iOiAiaHR0cHM6Ly9vZmZlci1zdGFnZS5h - ZGNyd3MuY29tL3YxL2xvY2F0aW9ucy81NDExNDM1IiwKICAgICAgICAic2hv - d19zdG9yZSI6ICJodHRwczovL29mZmVyLXN0YWdlLmFkY3J3cy5jb20vdjEv - c3RvcmVzLzE4OTM5MTQ0IiwKICAgICAgICAiZmluZF9vZmZlcnNfYXRfdGhp - c19sb2NhdGlvbiI6ICJodHRwczovL29mZmVyLXN0YWdlLmFkY3J3cy5jb20v - djEvb2ZmZXJzP2xvY2F0aW9uX2tleT01NDExNDM1IgogICAgICB9CiAgICB9 - CiAgXSwKICAibGlua3MiOiB7CiAgICAibmV4dF9wYWdlIjogImh0dHBzOi8v - b2ZmZXItc3RhZ2UuYWRjcndzLmNvbS92MS9sb2NhdGlvbnM/bWVtYmVyX2tl - eT1BUElfUlVCWV9HRU1fVEVTVCZwYWdlPTImcGVyX3BhZ2U9MSIKICB9Cn0= + encoding: UTF-8 + string: |- + { + "info": { + "total_results": 195998, + "current_page": 1, + "total_pages": 195998, + "results_per_page": 1 + }, + "locations": [ + { + "search_relevance": 1.0, + "physical_location": { + "location_name": "Unique Auto Care", + "web_address": "", + "description": null, + "online_exclusive": false, + "location_key": 5560865, + "phone_number": "740-245-5522", + "postal_code": "45685", + "country": "US", + "street_address": "1656 Cherry Ridge Rd", + "extended_street_address": "", + "city_locality": "Thurman", + "state_region": "OH", + "geolocation_array": [ + -82.39142, + 38.87554 + ], + "geolocation": { + "lat": 38.87554, + "lon": -82.39142 + } + }, + "location_store": { + "name": "Unique Auto Care", + "description": "Unique Auto Care puts PRIDE IN YOUR RIDE! Provides a variety of services such as tires, paint, diagnostics, Diesel engines, etc. Give us a call!!", + "store_key": 293577193 + }, + "location_categories": [ + { + "category_name": "Tires", + "category_key": 1005, + "category_parent_key": 51, + "category_parent_name": "Automotive", + "category_type": "subcategory" + } + ], + "national": false, + "logo_url": "https://static-stage.accessdevelopment.com/brand/f62a219d9b647c1acf00748af11f3ea5546f06cc/original.png", + "location_photos": [ + + ], + "active_offer_count": 3, + "offer_group_keys": [ + 282351590, + 282351594, + 282351597 + ], + "links": { + "show_location": "https://offer-stage.adcrws.com/v1/locations/5560865", + "show_store": "https://offer-stage.adcrws.com/v1/stores/293577193", + "find_offers_at_this_location": "https://offer-stage.adcrws.com/v1/offers?location_key=5560865" + } + } + ], + "links": { + "next_page": "https://offer-stage.adcrws.com/v1/locations?member_key=API_RUBY_GEM_TEST&page=2&per_page=1" + } + } http_version: - recorded_at: Mon, 22 Feb 2016 20:16:54 GMT -recorded_with: VCR 3.0.1 + recorded_at: Sun, 01 Jul 2018 04:24:26 GMT +recorded_with: VCR 4.0.0