test/vcr/cassettes/favorite/find_location.yml in access-2.2.0 vs test/vcr/cassettes/favorite/find_location.yml in access-2.3.0.pre.rc1

- old
+ new

@@ -1,27 +1,35 @@ --- http_interactions: - request: method: post - uri: https://mms-stage.adcrws.com/v1/members/API_TEST/favorites/locations/5454532 + uri: https://mms-stage.adcrws.com/v1/members/API_TEST/favorites/locations/5454512 body: encoding: UTF-8 string: "{}" headers: Access-Token: - - "<TOKEN_WITHOUT_FILTERS_WITH_PROGRAM_OFFERS>" + - "<ACCESS_TOKEN>_with_program_offers" Content-Type: - application/json Accept: - application/json response: status: code: 200 - message: OK + message: '' headers: - Server: - - Apache-Coyote/1.1 + Date: + - Sun, 01 Jul 2018 04:23:49 GMT + Content-Type: + - application/json;charset=UTF-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + X-Application-Context: + - application:stage X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: @@ -30,51 +38,87 @@ - no-cache Expires: - '0' X-Frame-Options: - DENY - X-Application-Context: - - application:main,stage:10120 - Content-Type: - - application/json;charset=UTF-8 - Transfer-Encoding: - - chunked - Date: - - Tue, 23 Feb 2016 17:15:14 GMT body: - encoding: UTF-8 - string: '{"links":{"show_favorite_locations":"http://mms-stage.adcrws.com/v1/members/API_TEST/favorites/locations","show_favorite_offers":"http://mms-stage.adcrws.com/v1/members/API_TEST/favorites/offers","show_favorite_stores":"http://mms-stage.adcrws.com/v1/members/API_TEST/favorites/stores"},"favorites":[{"links":{"show_favorite_location":"http://mms-stage.adcrws.com/v1/members/API_TEST/favorites/locations/5454532"},"favorited_date":"2016-02-23T17:12:49.966+0000","favorite_type":"location"}]}' + encoding: ASCII-8BIT + string: !binary |- + eyJsaW5rcyI6eyJzaG93X2Zhdm9yaXRlX2xvY2F0aW9ucyI6Imh0dHBzOi8v + bW1zLXN0YWdlLmFkY3J3cy5jb20vdjEvbWVtYmVycy9BUElfVEVTVC9mYXZv + cml0ZXMvbG9jYXRpb25zIiwic2hvd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ZC9j + ZGI5YWM0OTViZjQzMjgwYjgxYmE1Y2IzOWE4ZTU5NmE0ZDg4YWQxL29yaWdp + bmFsLnBuZyIsImxvY2F0aW9uX3Bob3RvcyI6W10sImFjdGl2ZV9vZmZlcl9j + b3VudCI6MSwib2ZmZXJfZ3JvdXBfa2V5cyI6WzQyNTMyOTNdLCJsaW5rcyI6 + eyJzaG93X2xvY2F0aW9uIjoiaHR0cHM6Ly9vZmZlci1zdGFnZS5hZGNyd3Mu + Y29tL3YxL2xvY2F0aW9ucy81NDU0NTEyIiwic2hvd19zdG9yZSI6Imh0dHBz + Oi8vb2ZmZXItc3RhZ2UuYWRjcndzLmNvbS92MS9zdG9yZXMvMTg5MzgzMjQi + LCJmaW5kX29mZmVyc19hdF90aGlzX2xvY2F0aW9uIjoiaHR0cHM6Ly9vZmZl + ci1zdGFnZS5hZGNyd3MuY29tL3YxL29mZmVycz9sb2NhdGlvbl9rZXk9NTQ1 + NDUxMiJ9fSwiZmF2b3JpdGVfdHlwZSI6ImxvY2F0aW9uIn1dfQ== http_version: - recorded_at: Tue, 23 Feb 2016 17:15:15 GMT + recorded_at: Sun, 01 Jul 2018 04:23:49 GMT - request: method: get - uri: https://report-stage.adcrws.com/v1/members/API_TEST/favorites/locations/5454532 + uri: https://report-stage.adcrws.com/v1/members/API_TEST/favorites/locations/5454512 body: encoding: US-ASCII string: '' headers: Access-Token: - - "<TOKEN_WITHOUT_FILTERS_WITH_PROGRAM_OFFERS>" + - "<ACCESS_TOKEN>_with_program_offers" Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Server: - - nginx/1.8.0 + - nginx/1.12.2 Date: - - Tue, 23 Feb 2016 17:15:15 GMT + - Sun, 01 Jul 2018 04:23:49 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: @@ -86,73 +130,75 @@ Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Max-Age: - '1728000' X-Ratelimit-Limit: - - '1000' + - '10000' X-Ratelimit-Remaining: - - '976' + - '9974' Etag: - - '"c9e7c1afa10bba5b55d82ccc65ebdc81"' + - '"30b30478353abbeaf329bf122af075e8"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - - f4de33b7-6add-4a47-bc9a-72fa47a3db46 + - fe74d636-370f-45f8-bd8f-8d40f1741bf8 X-Runtime: - - '0.018531' + - '0.012857' body: encoding: ASCII-8BIT string: !binary |- ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAxLAogICAgImN1 cnJlbnRfcGFnZSI6IDEsCiAgICAidG90YWxfcGFnZXMiOiAxLAogICAgInJl - c3VsdHNfcGVyX3BhZ2UiOiAxCiAgfSwKICAiZmF2b3JpdGVzIjogWwogICAg - ewogICAgICAiZmF2b3JpdGVkX2RhdGUiOiAiMjAxNi0wMi0yMlQxNjo1ODoy - NC42OTRaIiwKICAgICAgImZhdm9yaXRlX3R5cGUiOiAibG9jYXRpb24iLAog - ICAgICAibGlua3MiOiB7CiAgICAgICAgInNob3dfZmF2b3JpdGUiOiAiaHR0 - cHM6Ly9tbXMtc3RhZ2UuYWRjcndzLmNvbS92MS9tZW1iZXJzL0FQSV9URVNU - L2Zhdm9yaXRlcy9sb2NhdGlvbnMvNTQ1NDUzMiIKICAgICAgfSwKICAgICAg - Im1lbWJlciI6IHsKICAgICAgICAibWVtYmVyX2tleSI6ICJBUElfVEVTVCIs - CiAgICAgICAgInByb2dyYW1fa2V5IjogIjIwMDE1OCIsCiAgICAgICAgInBy - b2dyYW1fbmFtZSI6ICJSV1MgQVBJIC0gV2l0aCBQcm9ncmFtIFNwZWNpZmlj - IE9mZmVyIiwKICAgICAgICAib3JnYW5pemF0aW9uX2tleSI6ICIxNjAiLAog - ICAgICAgICJvcmdhbml6YXRpb25fbmFtZSI6ICJBY2Nlc3MgRGV2ZWxvcG1l - bnQiCiAgICAgIH0sCiAgICAgICJvZmZlciI6IG51bGwsCiAgICAgICJsb2Nh - dGlvbiI6IHsKICAgICAgICAicGh5c2ljYWxfbG9jYXRpb24iOiB7CiAgICAg - ICAgICAibG9jYXRpb25fbmFtZSI6ICJDb2xkIFN0b25lIENyZWFtZXJ5IiwK - ICAgICAgICAgICJ3ZWJfYWRkcmVzcyI6ICJodHRwczovL3d3dy5jb2xkc3Rv - bmVjcmVhbWVyeS5jb20vIiwKICAgICAgICAgICJkZXNjcmlwdGlvbiI6IG51 - bGwsCiAgICAgICAgICAibG9jYXRpb25fa2V5IjogNTQ1NDUzMiwKICAgICAg - ICAgICJwaG9uZV9udW1iZXIiOiAiODAxLTk3NC0zMDMzIiwKICAgICAgICAg - ICJwb3N0YWxfY29kZSI6ICI4NDMzNyIsCiAgICAgICAgICAiY291bnRyeSI6 - ICJVUyIsCiAgICAgICAgICAic3RyZWV0X2FkZHJlc3MiOiAiMjUgUyAxNjAw - IEUiLAogICAgICAgICAgImV4dGVuZGVkX3N0cmVldF9hZGRyZXNzIjogIiIs - CiAgICAgICAgICAiY2l0eV9sb2NhbGl0eSI6ICJUcmVtb250b24iLAogICAg - ICAgICAgInN0YXRlX3JlZ2lvbiI6ICJVVCIsCiAgICAgICAgICAiZ2VvbG9j - YXRpb25fYXJyYXkiOiBbCiAgICAgICAgICAgIC0xMTIuMTQxODQsCiAgICAg - ICAgICAgIDQxLjcxMTg2CiAgICAgICAgICBdLAogICAgICAgICAgImdlb2xv - Y2F0aW9uIjogewogICAgICAgICAgICAibGF0IjogNDEuNzExODYsCiAgICAg - ICAgICAgICJsb24iOiAtMTEyLjE0MTg0CiAgICAgICAgICB9CiAgICAgICAg - fSwKICAgICAgICAibG9jYXRpb25fc3RvcmUiOiB7CiAgICAgICAgICAibmFt - ZSI6ICJDb2xkIFN0b25lIENyZWFtZXJ5IiwKICAgICAgICAgICJkZXNjcmlw - dGlvbiI6ICJJZiBpdCBoYXMgYW55dGhpbmcgdG8gZG8gd2l0aC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21lbWJlcnMvQVBJX1RFU1QvZmF2b3JpdGVzL3N0 - b3JlcyIKICB9Cn0= + c3VsdHNfcGVyX3BhZ2UiOiAxMDAKICB9LAogICJmYXZvcml0ZXMiOiBbCiAg + ICB7CiAgICAgICJmYXZvcml0ZWRfZGF0ZSI6ICIyMDE4LTA2LTMwVDIyOjIz + OjQxLjM4MVoiLAogICAgICAiZmF2b3JpdGVfdHlwZSI6ICJsb2NhdGlvbiIs + CiAgICAgICJsaW5rcyI6IHsKICAgICAgICAic2hvd19mYXZvcml0ZSI6ICJo + dHRwczovL21tcy1zdGFnZS5hZGNyd3MuY29tL3YxL21lbWJlcnMvQVBJX1RF + U1QvZmF2b3JpdGVzL2xvY2F0aW9ucy81NDU0NTEyIgogICAgICB9LAogICAg + ICAibWVtYmVyIjogewogICAgICAgICJtZW1iZXJfa2V5IjogIkFQSV9URVNU + IiwKICAgICAgICAicHJvZ3JhbV9rZXkiOiAiMjAwMTU4IiwKICAgICAgICAi + cHJvZ3JhbV9uYW1lIjogIlJXUyBBUEkgLSBXaXRoIFByb2dyYW0gU3BlY2lm + aWMgT2ZmZXIiLAogICAgICAgICJvcmdhbml6YXRpb25fa2V5IjogIjE2MCIs + CiAgICAgICAgIm9yZ2FuaXphdGlvbl9uYW1lIjogIkFjY2VzcyBEZXZlbG9w + bWVudCIKICAgICAgfSwKICAgICAgIm9mZmVyIjogbnVsbCwKICAgICAgImxv + Y2F0aW9uIjogewogICAgICAgICJwaHlzaWNhbF9sb2NhdGlvbiI6IHsKICAg + ICAgICAgICJsb2NhdGlvbl9uYW1lIjogIkNvbGQgU3RvbmUgQ3JlYW1lcnki + LAogICAgICAgICAgIndlYl9hZGRyZXNzIjogImh0dHBzOi8vd3d3LmNvbGRz + dG9uZWNyZWFtZXJ5LmNvbS8iLAogICAgICAgICAgImRlc2NyaXB0aW9uIjog + bnVsbCwKICAgICAgICAgICJvbmxpbmVfZXhjbHVzaXZlIjogZmFsc2UsCiAg + ICAgICAgICAibG9jYXRpb25fa2V5IjogNTQ1NDUxMiwKICAgICAgICAgICJw + aG9uZV9udW1iZXIiOiAiODAxLTk3NC0zMDMzIiwKICAgICAgICAgICJwb3N0 + YWxfY29kZSI6ICI4NDExOSIsCiAgICAgICAgICAiY291bnRyeSI6ICJVUyIs + CiAgICAgICAgICAic3RyZWV0X2FkZHJlc3MiOiAiMTAxMiBXIEJlYXJkc2xl + eSBQbCIsCiAgICAgICAgICAiZXh0ZW5kZWRfc3RyZWV0X2FkZHJlc3MiOiAi + IiwKICAgICAgICAgICJjaXR5X2xvY2FsaXR5IjogIlNhbHQgTGFrZSBDaXR5 + IiwKICAgICAgICAgICJzdGF0ZV9yZWdpb24iOiAiVVQiLAogICAgICAgICAg + Imdlb2xvY2F0aW9uX2FycmF5IjogWwogICAgICAgICAgICAtMTExLjkxOTk4 + LAogICAgICAgICAgICA0MC43MTgzOAogICAgICAgICAgXSwKICAgICAgICAg + ICJnZW9sb2NhdGlvbiI6IHsKICAgICAgICAgICAgImxhdCI6IDQwLjcxODM4 + LAogICAgICAgICAgICAibG9uIjogLTExMS45MTk5OAogICAgICAgICAgfQog + ICAgICAgIH0sCiAgICAgICAgImxvY2F0aW9uX3N0b3JlIjogewogICAgICAg + ICAgIm5hbWUiOiAiQ29sZCBTdG9uZSBDcmVhbWVyeSIsCiAgICAgICAgICAi + ZGVzY3JpcHRpb24iOiAiSWYgaXQgaGFzIGFueXRoaW5nIHRvIGRvIHdpdGgg + aWNlIGNyZWFtLCBpdCBoYXMgZXZlcnl0aGluZyB0byBkbyB3aXRoIENvbGQg + U3RvbmUgQ3JlYW1lcnkuIEZyb20gdW5pcXVlIGljZSBjcmVhbSBjcmVhdGlv + bnMgdG8gc21vb3RoaWVzLCBjYWtlcyBhbmQgc2hha2VzIOKAkyBub2JvZHkg + c2VydmVzIHVwIHRoZSB1bHRpbWF0ZSBpbmR1bGdlbmNlIGxpa2UgQ29sZCBT + dG9uZS4gIEl0IHN0YXJ0cyB3aXRoIHVzaW5nIHRoZSBoaWdoZXN0IHF1YWxp + dHkgaW5ncmVkaWVudHMgYW5kIGVuZHMgd2l0aCBvdXIgc2lnbmF0dXJlIHBy + b2Nlc3MgZm9yIHByZXBhcmluZyB5b3VyIGN1c3RvbSBjcmVhdGlvbiBvbiBh + IGZyb3plbiBncmFuaXRlIHN0b25lLiIsCiAgICAgICAgICAic3RvcmVfa2V5 + IjogMTg5MzgzMjQKICAgICAgICB9LAogICAgICAgICJsb2dvX3VybCI6ICJo + dHRwczovL3N0YXRpYy1zdGFnZS5hY2Nlc3NkZXZlbG9wbWVudC5jb20vYnJh + bmQvY2RiOWFjNDk1YmY0MzI4MGI4MWJhNWNiMzlhOGU1OTZhNGQ4OGFkMS9v + cmlnaW5hbC5wbmciCiAgICAgIH0sCiAgICAgICJzdG9yZSI6IG51bGwKICAg + IH0KICBdLAogICJsaW5rcyI6IHsKICAgICJzaG93X2Zhdm9yaXRlX2xvY2F0 + aW9ucyI6ICJodHRwczovL21tcy1zdGFnZS5hZGNyd3MuY29tL3YxL21lbWJl + cnMvQVBJX1RFU1QvZmF2b3JpdGVzL2xvY2F0aW9ucyIsCiAgICAic2hvd19m + YXZvcml0ZV9vZmZlcnMiOiAiaHR0cHM6Ly9tbXMtc3RhZ2UuYWRjcndzLmNv + bS92MS9tZW1iZXJzL0FQSV9URVNUL2Zhdm9yaXRlcy9vZmZlcnMiLAogICAg + InNob3dfZmF2b3JpdGVfc3RvcmVzIjogImh0dHBzOi8vbW1zLXN0YWdlLmFk + Y3J3cy5jb20vdjEvbWVtYmVycy9BUElfVEVTVC9mYXZvcml0ZXMvc3RvcmVz + IgogIH0KfQ== http_version: - recorded_at: Tue, 23 Feb 2016 17:15:15 GMT -recorded_with: VCR 3.0.1 + recorded_at: Sun, 01 Jul 2018 04:23:49 GMT +recorded_with: VCR 4.0.0