test/fixtures/store_find.yml in access-2.0.1 vs test/fixtures/store_find.yml in access-2.0.2
- old
+ new
@@ -328,6 +328,172 @@
}
]
}
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
recorded_with: VCR 2.9.3