test/fixtures/store_find.yml in access-2.0.7 vs test/fixtures/store_find.yml in access-2.0.8
- old
+ new
@@ -1,512 +1,16 @@
---
http_interactions:
- request:
method: get
- uri: https://offer-demo.adcrws.com/v1/stores/19011540?member_key=guest
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Thu, 06 Aug 2015 17:49:51 GMT
- Etag:
- - '"ecb106d3f2a28fc6b96840296863ad86"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - 133f5cbd-de0d-4d2c-94f0-1bedaa5c16f5
- X-Runtime:
- - '0.014419'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '1124'
- Connection:
- - keep-alive
- body:
- encoding: UTF-8
- string: |-
- {
- "stores": [
- {
- "store_key": 19011540,
- "name": "Zuma Tex-Mex Grill",
- "description": "Deep in the Heart of Boston--Zuma Tex Mex brings the flavors of the southwest to Faneuil Hall. We are proud to serve the freshest ingredients and make almost everything from scratch-- from our hand cut fries,fresh daily pico de gallo, our home made chorizo sausage to our house smoked BBQ.",
- "logo_url": "https://static-demo.accessdevelopment.com/brand/bdd152cd64b2673b6f7f2c14d76d29ae05b8299d/original.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-demo.adcrws.com/v1/offers?store_key=19011540",
- "find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=19011540"
- }
- }
- ]
- }
- http_version:
- recorded_at: Thu, 06 Aug 2015 17:49:51 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/stores/219558835?member_key=guest
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Thu, 06 Aug 2015 17:51:06 GMT
- Etag:
- - '"e01c3349774dc2ff1588316eaf629c3e"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - ebeca953-bdbc-4fdc-bd31-10844c1879c1
- X-Runtime:
- - '0.016393'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '1114'
- Connection:
- - keep-alive
- body:
- encoding: ASCII-8BIT
- string: !binary |-
- ewogICJzdG9yZXMiOiBbCiAgICB7CiAgICAgICJzdG9yZV9rZXkiOiAyMTk1
- NTg4MzUsCiAgICAgICJuYW1lIjogIkNyZWVrd29vZCBWZXRlcmluYXJ5IEhv
- c3BpdGFsIiwKICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWVrd29vZCBWZXRl
- cmluYXJ5IEhvc3BpdGFswqAgcHJvdmlkZXMgb3V0c3RhbmRpbmcgdmV0ZXJp
- bmFyeSBtZWRpY2FsIGFuZCBzdXJnaWNhbCBjYXJlLCBpbm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JmaW5kX2xvY2F0aW9uc19mb3JfdGhpc19zdG9yZSI6ICJodHRw
- czovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9sb2NhdGlvbnM/c3RvcmVf
- a2V5PTIxOTU1ODgzNSIKICAgICAgfQogICAgfQogIF0KfQ==
- http_version:
- recorded_at: Thu, 06 Aug 2015 17:51:06 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/stores/219558835?member_key=API_RUBY_GEM_TEST
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Thu, 06 Aug 2015 22:57:19 GMT
- Etag:
- - '"e01c3349774dc2ff1588316eaf629c3e"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - 8396cac4-2ba7-4051-a9a6-e1b0e8438cd9
- X-Runtime:
- - '0.015740'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '1114'
- Connection:
- - keep-alive
- body:
- encoding: ASCII-8BIT
- string: !binary |-
- ewogICJzdG9yZXMiOiBbCiAgICB7CiAgICAgICJzdG9yZV9rZXkiOiAyMTk1
- NTg4MzUsCiAgICAgICJuYW1lIjogIkNyZWVrd29vZCBWZXRlcmluYXJ5IEhv
- c3BpdGFsIiwKICAgICAgImRlc2NyaXB0aW9uIjogIkNyZWVrd29vZCBWZXRl
- cmluYXJ5IEhvc3BpdGFswqAgcHJvdmlkZXMgb3V0c3RhbmRpbmcg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jb20vdjEvb2ZmZXJzP3N0b3JlX2tleT0yMTk1NTg4MzUiLAog
- ICAgICAgICJmaW5kX2xvY2F0aW9uc19mb3JfdGhpc19zdG9yZSI6ICJodHRw
- czovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9sb2NhdGlvbnM/c3RvcmVf
- a2V5PTIxOTU1ODgzNSIKICAgICAgfQogICAgfQogIF0KfQ==
- http_version:
- recorded_at: Thu, 06 Aug 2015 22:57:19 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/stores/19011540?member_key=API_RUBY_GEM_TEST
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Wed, 12 Aug 2015 17:46:33 GMT
- Etag:
- - '"ecb106d3f2a28fc6b96840296863ad86"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - f55f0813-067b-499e-921d-88dfa554fdda
- X-Runtime:
- - '0.017595'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '1124'
- Connection:
- - keep-alive
- body:
- encoding: UTF-8
- string: |-
- {
- "stores": [
- {
- "store_key": 19011540,
- "name": "Zuma Tex-Mex Grill",
- "description": "Deep in the Heart of Boston--Zuma Tex Mex brings the flavors of the southwest to Faneuil Hall. We are proud to serve the freshest ingredients and make almost everything from scratch-- from our hand cut fries,fresh daily pico de gallo, our home made chorizo sausage to our house smoked BBQ.",
- "logo_url": "https://static-demo.accessdevelopment.com/brand/bdd152cd64b2673b6f7f2c14d76d29ae05b8299d/original.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-demo.adcrws.com/v1/offers?store_key=19011540",
- "find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=19011540"
- }
- }
- ]
- }
- http_version:
- recorded_at: Wed, 12 Aug 2015 17:46:33 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/stores/31352623?member_key=API_RUBY_GEM_TEST
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Thu, 27 Aug 2015 19:50:28 GMT
- Etag:
- - '"90228138058175ae1757c3b973c909dd"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - 4fa8ebf1-4630-4f9b-a587-81feb67e102f
- X-Runtime:
- - '0.017621'
- X-Xss-Protection:
- - 1; mode=block
- Transfer-Encoding:
- - chunked
- Connection:
- - keep-alive
- body:
- encoding: UTF-8
- string: |-
- {
- "stores": [
- {
- "store_key": 31352623,
- "name": "Ruibal's Plants of Texas",
- "description": "Welcome to Ruibal's Plants of Texas. Dallas' Premier Garden Center. Plants, Shrubs, Garden decor and more. Make Ruibal's your choice for all your planting needs. From indoor and outdoor plants, to pottery and statuary, to ideas and even help planting, we're here for you. Ruibal's is where Dallas goes for plants!",
- "logo_url": "https://static-demo.accessdevelopment.com/brand/9b50a7909b11d1406fc54b0fc631943337a5a39d/original.png",
- "national": false,
- "active_location_count": 3,
- "active_offer_count": 3,
- "store_categories": [
- {
- "category_name": "Garden Centers",
- "category_key": 1050,
- "category_parent_key": 1039,
- "category_parent_name": "Home & Garden",
- "category_type": "subcategory"
- }
- ],
- "links": {
- "find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=31352623",
- "find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=31352623"
- }
- }
- ]
- }
- http_version:
- recorded_at: Thu, 27 Aug 2015 19:50:28 GMT
-- request:
- method: get
- uri: https://offer-demo.adcrws.com/v1/stores/30368039?member_key=API_RUBY_GEM_TEST
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Access-Token:
- - token_without_limit
- Content-Type:
- - application/json
- Accept:
- - application/json
- response:
- status:
- code: 200
- message: OK
- headers:
- Access-Control-Allow-Headers:
- - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
- Access-Control-Allow-Methods:
- - POST, GET, PUT, DELETE, OPTIONS
- Access-Control-Max-Age:
- - '1728000'
- Access-Control-Request-Method:
- - GET
- Cache-Control:
- - max-age=0, private, must-revalidate
- Content-Type:
- - application/json
- Date:
- - Thu, 27 Aug 2015 20:17:38 GMT
- Etag:
- - '"fb9bca86cc721fad64d27068bd1187d8"'
- Server:
- - nginx/1.6.2
- Strict-Transport-Security:
- - max-age=31536000
- X-Content-Type-Options:
- - nosniff
- X-Frame-Options:
- - SAMEORIGIN
- X-Request-Id:
- - adfb94d1-3746-41c2-b62b-d1c7142d708c
- X-Runtime:
- - '0.016851'
- X-Xss-Protection:
- - 1; mode=block
- Content-Length:
- - '1011'
- Connection:
- - keep-alive
- body:
- encoding: UTF-8
- string: |-
- {
- "stores": [
- {
- "store_key": 30368039,
- "name": "Country Club Bowl",
- "description": "Country Club Bowl is a great place to have fun times with family and friends. Our 40 lanes offer state-of-the-art bowling equipment for both league and recreational bowlers.",
- "logo_url": "https://static-demo.accessdevelopment.com/brand/09643f63f1d3cdb2d7b83c4010c60ba14db84d17/original.png",
- "national": false,
- "active_location_count": 1,
- "active_offer_count": 1,
- "store_categories": [
- {
- "category_name": "Fun Centers",
- "category_key": 1013,
- "category_parent_key": 59,
- "category_parent_name": "Entertainment & Recreation",
- "category_type": "subcategory"
- }
- ],
- "links": {
- "find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=30368039",
- "find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=30368039"
- }
- }
- ]
- }
- http_version:
- recorded_at: Thu, 27 Aug 2015 20:17:38 GMT
-- request:
- method: get
uri: https://offer-demo.adcrws.com/v1/stores/19016615?member_key=API_RUBY_GEM_TEST
body:
encoding: US-ASCII
string: ''
headers:
Access-Token:
- - token_without_limit
+ - token_without_filters
Content-Type:
- application/json
Accept:
- application/json
response:
@@ -525,23 +29,27 @@
Cache-Control:
- max-age=0, private, must-revalidate
Content-Type:
- application/json
Date:
- - Fri, 11 Sep 2015 20:33:21 GMT
+ - Wed, 16 Sep 2015 19:54:00 GMT
Etag:
- '"111a49e6ac3ee7f9c1b0ce782cd4a814"'
Server:
- nginx/1.6.2
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
+ X-Ratelimit-Limit:
+ - '1000'
+ X-Ratelimit-Remaining:
+ - '977'
X-Request-Id:
- - 8f99ec9e-3fc5-4fad-b120-638d6b6dbee9
+ - 989b5b3c-4004-4026-a4fb-bc50f4273ec2
X-Runtime:
- - '0.018045'
+ - '0.017239'
X-Xss-Protection:
- 1; mode=block
Content-Length:
- '1216'
Connection:
@@ -574,7 +82,7 @@
}
}
]
}
http_version:
- recorded_at: Fri, 11 Sep 2015 20:33:21 GMT
+ recorded_at: Wed, 16 Sep 2015 19:54:00 GMT
recorded_with: VCR 2.9.3