access 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/access/error.rb +2 -0
- data/lib/access/request.rb +4 -1
- data/lib/access/response.rb +2 -0
- data/lib/access/version.rb +1 -1
- data/test/fixtures/autocomplete_search.yml +19 -18
- data/test/fixtures/autocomplete_search_categories.yml +10 -10
- data/test/fixtures/autocomplete_search_locations.yml +4 -4
- data/test/fixtures/autocomplete_search_offers.yml +9 -9
- data/test/fixtures/autocomplete_search_stores.yml +11 -11
- data/test/fixtures/category_find.yml +4 -4
- data/test/fixtures/category_search.yml +8 -8
- data/test/fixtures/category_search_fail_member_key.yml +4 -4
- data/test/fixtures/filter_find.yml +67 -0
- data/test/fixtures/filter_search.yml +12 -12
- data/test/fixtures/location_find.yml +432 -388
- data/test/fixtures/location_search.yml +34 -34
- data/test/fixtures/location_search_fail_member_key.yml +4 -4
- data/test/fixtures/national_stores.yml +4 -4
- data/test/fixtures/oauth_application_find.yml +4 -4
- data/test/fixtures/oauth_application_search.yml +7 -7
- data/test/fixtures/oauth_application_token_find.yml +4 -4
- data/test/fixtures/oauth_application_token_search.yml +4 -4
- data/test/fixtures/offer_find.yml +125 -119
- data/test/fixtures/offer_search.yml +68 -66
- data/test/fixtures/offer_search_fail_member_key.yml +4 -4
- data/test/fixtures/redeem_offer_no_redeem_type.yml +18 -18
- data/test/fixtures/store_find.yml +166 -0
- data/test/fixtures/store_search.yml +19 -19
- data/test/fixtures/store_search_fail_member_key.yml +6 -6
- data/test/fixtures/subcategory_find.yml +4 -4
- data/test/fixtures/token_find.yml +90 -0
- data/test/fixtures/token_search.yml +29 -31
- data/test/fixtures/verify_filter.yml +15 -15
- data/test/fixtures/verify_token.yml +12 -12
- metadata +1 -1
@@ -212,9 +212,9 @@ http_interactions:
|
|
212
212
|
Content-Type:
|
213
213
|
- application/json
|
214
214
|
Date:
|
215
|
-
-
|
215
|
+
- Thu, 27 Aug 2015 20:17:41 GMT
|
216
216
|
Etag:
|
217
|
-
- '"
|
217
|
+
- '"87ff853a5ab0ca83f70b095c349e3bea"'
|
218
218
|
Server:
|
219
219
|
- nginx/1.6.2
|
220
220
|
Strict-Transport-Security:
|
@@ -224,13 +224,13 @@ http_interactions:
|
|
224
224
|
X-Frame-Options:
|
225
225
|
- SAMEORIGIN
|
226
226
|
X-Request-Id:
|
227
|
-
-
|
227
|
+
- d325bc80-334c-4e3a-9896-17e6a2efe219
|
228
228
|
X-Runtime:
|
229
|
-
- '0.
|
229
|
+
- '0.035839'
|
230
230
|
X-Xss-Protection:
|
231
231
|
- 1; mode=block
|
232
232
|
Content-Length:
|
233
|
-
- '
|
233
|
+
- '4048'
|
234
234
|
Connection:
|
235
235
|
- keep-alive
|
236
236
|
body:
|
@@ -239,12 +239,12 @@ http_interactions:
|
|
239
239
|
ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAxOTI2LAogICAg
|
240
240
|
ImN1cnJlbnRfcGFnZSI6IDEsCiAgICAidG90YWxfcGFnZXMiOiAxOTI2LAog
|
241
241
|
ICAgInJlc3VsdHNfcGVyX3BhZ2UiOiAxCiAgfSwKICAib2ZmZXJzIjogWwog
|
242
|
-
|
242
|
+
ICAgewogICAgICAic2VhcmNoX3JlbGV2YW5jZSI6IDAuNzExOTYxMTUsCiAg
|
243
243
|
ICAgICJvZmZlcl9rZXkiOiAxMDU2OTY4OCwKICAgICAgIm9mZmVyX2dyb3Vw
|
244
244
|
X2tleSI6IDEzOTY5NywKICAgICAgInRpdGxlIjogIkFueSBleHRyYSBsYXJn
|
245
245
|
ZSBwaXp6YSBmb3IgdGhlIHByaWNlIG9mIGxhcmdlIHBpenphLiIsCiAgICAg
|
246
|
-
|
247
|
-
|
246
|
+
ICJzdGFydGVkX29uIjogIjIwMTUtMDQtMjlUMDA6MDA6MDAuMDAwWiIsCiAg
|
247
|
+
ICAgICJleHBpcmVzX29uIjogIjIwMTUtMDktMjZUMjM6NTk6NTkuOTk5WiIs
|
248
248
|
CiAgICAgICJ0ZXJtc19vZl91c2UiOiAiRGlzY291bnQgYmFzZWQgb24gcmVn
|
249
249
|
dWxhciBtZW51IHByaWNlcy4gU29tZSBzdG9yZXMgY2hhcmdlICQxIG1vcmUg
|
250
250
|
Zm9yIFNpY2lsaWFuIFBhbiBDcnVzdC4gRGVsaXZlcnkgYXZhaWxhYmxlIGF0
|
@@ -267,63 +267,65 @@ http_interactions:
|
|
267
267
|
ZyIsCiAgICAgICJuYXRpb25hbF9vZmZlciI6IHRydWUsCiAgICAgICJ1c2Vz
|
268
268
|
X3Blcl9wZXJpb2QiOiAidW5saW1pdGVkIiwKICAgICAgIm9mZmVyX3NldCI6
|
269
269
|
ICJESVNDT1VOVCIsCiAgICAgICJzYXZpbmdzX2Ftb3VudCI6ICIyMCUiLAog
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
270
|
+
ICAgICAibWluaW11bV9wdXJjaGFzZSI6IDAuMCwKICAgICAgIm1heGltdW1f
|
271
|
+
YXdhcmQiOiAwLjAsCiAgICAgICJvZmZlcl92YWx1ZSI6IDcsCiAgICAgICJk
|
272
|
+
aXNjb3VudF90eXBlIjogInBlcmNlbnQiLAogICAgICAiZGlzY291bnRfdmFs
|
273
|
+
dWUiOiAyMC4wLAogICAgICAicHJvbW90aW9uX2NvZGUiOiBmYWxzZSwKICAg
|
274
|
+
ICAgInJlZGVtcHRpb25fbWV0aG9kcyI6IFsKICAgICAgICAiaW5zdG9yZV9w
|
275
|
+
cmludCIKICAgICAgXSwKICAgICAgImNhdGVnb3JpZXMiOiBbCiAgICAgICAg
|
276
|
+
ewogICAgICAgICAgImNhdGVnb3J5X25hbWUiOiAiQ2FzdWFsICYgRmluZSBE
|
277
|
+
aW5pbmciLAogICAgICAgICAgImNhdGVnb3J5X2tleSI6IDEwMDksCiAgICAg
|
278
|
+
ICAgICAiY2F0ZWdvcnlfcGFyZW50X2tleSI6IDM5LAogICAgICAgICAgImNh
|
279
|
+
dGVnb3J5X3BhcmVudF9uYW1lIjogIkRpbmluZyAmIEZvb2QiLAogICAgICAg
|
280
|
+
ICAgImNhdGVnb3J5X3R5cGUiOiAic3ViY2F0ZWdvcnkiCiAgICAgICAgfQog
|
281
|
+
ICAgICBdLAogICAgICAib2ZmZXJfc3RvcmUiOiB7CiAgICAgICAgIm5hbWUi
|
282
|
+
OiAiRmlnYXJvJ3MgSXRhbGlhbiBQaXp6YSIsCiAgICAgICAgImRlc2NyaXB0
|
283
|
+
aW9uIjogIlRha2UgeW91ciB0aW1lIGFuZCBvcmRlciB3aGF0IHlvdSdkIGxp
|
284
|
+
a2UuIFdoZXRoZXIgeW91IGVuam95IGNsYXNzaWMgcGl6emFzIGxpa2UgcGVw
|
285
|
+
cGVyb25pIG9yIGNoZWVzZSBvciBpZiB5b3Ugd2FudCB0byBzcGljZSBpdCB1
|
286
|
+
cCBieSBvcmRlcmluZyBCQlEgc2F1Y2Ugb3IgdGhpbiBjcnVzdCAtIFdlIGhh
|
287
|
+
dmUgd2hhdCB5b3Ugd2FudCEgVHJ5IEZpZ2FybydzIFBpenphIC0gRmxhdm9y
|
288
|
+
cyBUaGF0IFNpbmcuIiwKICAgICAgICAic3RvcmVfa2V5IjogMTg5Mzg0OTgs
|
289
|
+
CiAgICAgICAgInBoeXNpY2FsX2xvY2F0aW9uIjogewogICAgICAgICAgImxv
|
290
|
+
Y2F0aW9uX25hbWUiOiAiRmlnYXJvJ3MgSXRhbGlhbiBQaXp6YSIsCiAgICAg
|
291
|
+
ICAgICAid2ViX2FkZHJlc3MiOiAiaHR0cDovL3d3dy5maWdhcm9zLmNvbSIs
|
292
|
+
CiAgICAgICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAgICAgImxv
|
293
|
+
Y2F0aW9uX2tleSI6IDUxODcwMDksCiAgICAgICAgICAicG9zdGFsX2NvZGUi
|
294
|
+
OiAiNTQxMTQiLAogICAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAg
|
295
|
+
ICAgInN0cmVldF9hZGRyZXNzIjogIjkwMSBOIFVTIEh3eSAxNDEiLAogICAg
|
296
|
+
ICAgICAgImV4dGVuZGVkX3N0cmVldF9hZGRyZXNzIjogbnVsbCwKICAgICAg
|
297
|
+
ICAgICJjaXR5X2xvY2FsaXR5IjogIkNyaXZpdHoiLAogICAgICAgICAgInN0
|
298
|
+
YXRlX3JlZ2lvbiI6ICJXSSIsCiAgICAgICAgICAiZ2VvbG9jYXRpb25fYXJy
|
299
|
+
YXkiOiBbCiAgICAgICAgICAgIC04Ny45OTYyNSwKICAgICAgICAgICAgNDUu
|
300
|
+
MjM1MjIKICAgICAgICAgIF0sCiAgICAgICAgICAiZ2VvbG9jYXRpb24iOiB7
|
301
|
+
CiAgICAgICAgICAgICJsYXQiOiA0NS4yMzUyMiwKICAgICAgICAgICAgImxv
|
302
|
+
biI6IC04Ny45OTYyNQogICAgICAgICAgfSwKICAgICAgICAgICJwaG9uZV9u
|
303
|
+
dW1iZXIiOiAiNzE1LTg1NC0zMzk5IgogICAgICAgIH0KICAgICAgfSwKICAg
|
304
|
+
ICAgImZhY2V0cyI6IFsKCiAgICAgIF0sCiAgICAgICJsb2NhdGlvbl9rZXl3
|
305
|
+
b3JkcyI6IFsKCiAgICAgIF0sCiAgICAgICJsaW5rcyI6IHsKICAgICAgICAi
|
306
|
+
cmVkZWVtX29mZmVyIjogewogICAgICAgICAgImluc3RvcmVfcHJpbnQiOiAi
|
307
|
+
aHR0cHM6Ly9yZWRlZW0tZGVtby5hZGNyd3MuY29tL3YxL3JlZGVlbS8xMDU2
|
308
|
+
OTY4OC9pbnN0b3JlX3ByaW50IgogICAgICAgIH0sCiAgICAgICAgInNob3df
|
309
|
+
b2ZmZXIiOiAiaHR0cHM6Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEvb2Zm
|
310
|
+
ZXJzLzEwNTY5Njg4IiwKICAgICAgICAic2hvd19zdG9yZSI6ICJodHRwczov
|
311
|
+
L29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9zdG9yZXMvMTg5Mzg0OTgiLAog
|
312
|
+
ICAgICAgICJzaG93X2xvY2F0aW9uIjogImh0dHBzOi8vb2ZmZXItZGVtby5h
|
313
|
+
ZGNyd3MuY29tL3YxL2xvY2F0aW9ucy81MTg3MDA5IiwKICAgICAgICAiZmlu
|
314
|
+
ZF9vZmZlcnNfYXRfdGhpc19zdG9yZSI6ICJodHRwczovL29mZmVyLWRlbW8u
|
315
|
+
YWRjcndzLmNvbS92MS9vZmZlcnM/c3RvcmVfa2V5PTE4OTM4NDk4IiwKICAg
|
316
|
+
ICAgICAiZmluZF9vZmZlcnNfYXRfdGhpc19sb2NhdGlvbiI6ICJodHRwczov
|
317
|
+
L29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9vZmZlcnM/bG9jYXRpb25fa2V5
|
318
|
+
PTUxODcwMDkiLAogICAgICAgICJmaW5kX3RoaXNfb2ZmZXJfYXRfbW9yZV9s
|
319
|
+
b2NhdGlvbnMiOiAiaHR0cHM6Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEv
|
320
|
+
b2ZmZXJzP29mZmVyX2dyb3VwX2tleT0xMzk2OTciLAogICAgICAgICJmaW5k
|
321
|
+
X2xvY2F0aW9uc193aXRoX3RoaXNfb2ZmZXIiOiAiaHR0cHM6Ly9vZmZlci1k
|
322
|
+
ZW1vLmFkY3J3cy5jb20vdjEvbG9jYXRpb25zP29mZmVyX2dyb3VwX2tleT0x
|
323
|
+
Mzk2OTciLAogICAgICAgICJmaW5kX2xvY2F0aW9uc19mb3JfdGhpc19zdG9y
|
324
|
+
ZSI6ICJodHRwczovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9sb2NhdGlv
|
325
|
+
bnM/c3RvcmVfa2V5PTE4OTM4NDk4IgogICAgICB9CiAgICB9CiAgXSwKICAi
|
326
|
+
bGlua3MiOiB7CiAgICAibmV4dF9wYWdlIjogImh0dHBzOi8vb2ZmZXItZGVt
|
327
|
+
by5hZGNyd3MuY29tL3YxL29mZmVycz9tZW1iZXJfa2V5PUFQSV9SVUJZX0dF
|
328
|
+
TV9URVNUJnBhZ2U9MiZwZXJfcGFnZT0xJnF1ZXJ5PXBpenphIgogIH0KfQ==
|
327
329
|
http_version:
|
328
|
-
recorded_at:
|
330
|
+
recorded_at: Thu, 27 Aug 2015 20:17:42 GMT
|
329
331
|
recorded_with: VCR 2.9.3
|
@@ -71,7 +71,7 @@ http_interactions:
|
|
71
71
|
Content-Type:
|
72
72
|
- application/json
|
73
73
|
Date:
|
74
|
-
-
|
74
|
+
- Thu, 27 Aug 2015 20:17:32 GMT
|
75
75
|
Server:
|
76
76
|
- nginx/1.6.2
|
77
77
|
Strict-Transport-Security:
|
@@ -81,9 +81,9 @@ http_interactions:
|
|
81
81
|
X-Frame-Options:
|
82
82
|
- SAMEORIGIN
|
83
83
|
X-Request-Id:
|
84
|
-
-
|
84
|
+
- 3058be77-d51c-4ca4-9868-739205cf6d7a
|
85
85
|
X-Runtime:
|
86
|
-
- '0.
|
86
|
+
- '0.008778'
|
87
87
|
X-Xss-Protection:
|
88
88
|
- 1; mode=block
|
89
89
|
Content-Length:
|
@@ -98,5 +98,5 @@ http_interactions:
|
|
98
98
|
"status": 401
|
99
99
|
}
|
100
100
|
http_version:
|
101
|
-
recorded_at:
|
101
|
+
recorded_at: Thu, 27 Aug 2015 20:17:32 GMT
|
102
102
|
recorded_with: VCR 2.9.3
|
@@ -282,7 +282,7 @@ http_interactions:
|
|
282
282
|
recorded_at: Thu, 06 Aug 2015 19:51:13 GMT
|
283
283
|
- request:
|
284
284
|
method: get
|
285
|
-
uri: https://redeem-demo.adcrws.com/v1/redeem/
|
285
|
+
uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST
|
286
286
|
body:
|
287
287
|
encoding: US-ASCII
|
288
288
|
string: ''
|
@@ -301,23 +301,23 @@ http_interactions:
|
|
301
301
|
Content-Type:
|
302
302
|
- application/json;charset=UTF-8
|
303
303
|
Date:
|
304
|
-
-
|
304
|
+
- Thu, 27 Aug 2015 19:31:27 GMT
|
305
305
|
Etag:
|
306
|
-
- '"
|
306
|
+
- '"024ad4c805fc9de0d0951150c4fd3975a"'
|
307
307
|
Server:
|
308
308
|
- nginx/1.6.2
|
309
309
|
Content-Length:
|
310
|
-
- '
|
310
|
+
- '204'
|
311
311
|
Connection:
|
312
312
|
- keep-alive
|
313
313
|
body:
|
314
314
|
encoding: UTF-8
|
315
|
-
string: '{"
|
315
|
+
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/e539a707d901a3ad7c38b04a8f37f619ef4eed14/original.html"},"links":[]}'
|
316
316
|
http_version:
|
317
|
-
recorded_at:
|
317
|
+
recorded_at: Thu, 27 Aug 2015 19:31:27 GMT
|
318
318
|
- request:
|
319
319
|
method: get
|
320
|
-
uri: https://redeem-demo.adcrws.com/v1/redeem/
|
320
|
+
uri: https://redeem-demo.adcrws.com/v1/redeem/10569688/?member_key=API_RUBY_GEM_TEST
|
321
321
|
body:
|
322
322
|
encoding: US-ASCII
|
323
323
|
string: ''
|
@@ -336,20 +336,20 @@ http_interactions:
|
|
336
336
|
Content-Type:
|
337
337
|
- application/json;charset=UTF-8
|
338
338
|
Date:
|
339
|
-
-
|
339
|
+
- Thu, 27 Aug 2015 19:48:08 GMT
|
340
340
|
Etag:
|
341
|
-
- '"
|
341
|
+
- '"059b9b502de27b3d272a5adc88efe6201"'
|
342
342
|
Server:
|
343
343
|
- nginx/1.6.2
|
344
344
|
Content-Length:
|
345
|
-
- '
|
345
|
+
- '137'
|
346
346
|
Connection:
|
347
347
|
- keep-alive
|
348
348
|
body:
|
349
349
|
encoding: UTF-8
|
350
|
-
string: '{"
|
350
|
+
string: '{"links":[{"rel":"instore_print","href":"https://redeem-demo.adcrws.com/v1/redeem/10569688/instore_print?member_key=API_RUBY_GEM_TEST"}]}'
|
351
351
|
http_version:
|
352
|
-
recorded_at:
|
352
|
+
recorded_at: Thu, 27 Aug 2015 19:48:08 GMT
|
353
353
|
- request:
|
354
354
|
method: get
|
355
355
|
uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/?member_key=API_RUBY_GEM_TEST
|
@@ -371,7 +371,7 @@ http_interactions:
|
|
371
371
|
Content-Type:
|
372
372
|
- application/json;charset=UTF-8
|
373
373
|
Date:
|
374
|
-
-
|
374
|
+
- Thu, 27 Aug 2015 20:17:41 GMT
|
375
375
|
Etag:
|
376
376
|
- '"0ff5ab06abc27ae6bc33adccffb86e1ff"'
|
377
377
|
Server:
|
@@ -384,7 +384,7 @@ http_interactions:
|
|
384
384
|
encoding: UTF-8
|
385
385
|
string: '{"links":[{"rel":"instore_print","href":"https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST"}]}'
|
386
386
|
http_version:
|
387
|
-
recorded_at:
|
387
|
+
recorded_at: Thu, 27 Aug 2015 20:17:42 GMT
|
388
388
|
- request:
|
389
389
|
method: get
|
390
390
|
uri: https://redeem-demo.adcrws.com/v1/redeem/10569688/instore_print?member_key=API_RUBY_GEM_TEST
|
@@ -406,9 +406,9 @@ http_interactions:
|
|
406
406
|
Content-Type:
|
407
407
|
- application/json;charset=UTF-8
|
408
408
|
Date:
|
409
|
-
-
|
409
|
+
- Thu, 27 Aug 2015 20:17:42 GMT
|
410
410
|
Etag:
|
411
|
-
- '"
|
411
|
+
- '"000895ffab1a8caa7836804e9aa82b9b6"'
|
412
412
|
Server:
|
413
413
|
- nginx/1.6.2
|
414
414
|
Content-Length:
|
@@ -417,7 +417,7 @@ http_interactions:
|
|
417
417
|
- keep-alive
|
418
418
|
body:
|
419
419
|
encoding: UTF-8
|
420
|
-
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/
|
420
|
+
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/be87aadee48923b51815dd7a4ae2aacaa564b169/original.html"},"links":[]}'
|
421
421
|
http_version:
|
422
|
-
recorded_at:
|
422
|
+
recorded_at: Thu, 27 Aug 2015 20:17:42 GMT
|
423
423
|
recorded_with: VCR 2.9.3
|
@@ -330,4 +330,170 @@ http_interactions:
|
|
330
330
|
}
|
331
331
|
http_version:
|
332
332
|
recorded_at: Wed, 12 Aug 2015 17:46:33 GMT
|
333
|
+
- request:
|
334
|
+
method: get
|
335
|
+
uri: https://offer-demo.adcrws.com/v1/stores/31352623?member_key=API_RUBY_GEM_TEST
|
336
|
+
body:
|
337
|
+
encoding: US-ASCII
|
338
|
+
string: ''
|
339
|
+
headers:
|
340
|
+
Access-Token:
|
341
|
+
- token_without_limit
|
342
|
+
Content-Type:
|
343
|
+
- application/json
|
344
|
+
Accept:
|
345
|
+
- application/json
|
346
|
+
response:
|
347
|
+
status:
|
348
|
+
code: 200
|
349
|
+
message: OK
|
350
|
+
headers:
|
351
|
+
Access-Control-Allow-Headers:
|
352
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
353
|
+
Access-Control-Allow-Methods:
|
354
|
+
- POST, GET, PUT, DELETE, OPTIONS
|
355
|
+
Access-Control-Max-Age:
|
356
|
+
- '1728000'
|
357
|
+
Access-Control-Request-Method:
|
358
|
+
- GET
|
359
|
+
Cache-Control:
|
360
|
+
- max-age=0, private, must-revalidate
|
361
|
+
Content-Type:
|
362
|
+
- application/json
|
363
|
+
Date:
|
364
|
+
- Thu, 27 Aug 2015 19:50:28 GMT
|
365
|
+
Etag:
|
366
|
+
- '"90228138058175ae1757c3b973c909dd"'
|
367
|
+
Server:
|
368
|
+
- nginx/1.6.2
|
369
|
+
Strict-Transport-Security:
|
370
|
+
- max-age=31536000
|
371
|
+
X-Content-Type-Options:
|
372
|
+
- nosniff
|
373
|
+
X-Frame-Options:
|
374
|
+
- SAMEORIGIN
|
375
|
+
X-Request-Id:
|
376
|
+
- 4fa8ebf1-4630-4f9b-a587-81feb67e102f
|
377
|
+
X-Runtime:
|
378
|
+
- '0.017621'
|
379
|
+
X-Xss-Protection:
|
380
|
+
- 1; mode=block
|
381
|
+
Transfer-Encoding:
|
382
|
+
- chunked
|
383
|
+
Connection:
|
384
|
+
- keep-alive
|
385
|
+
body:
|
386
|
+
encoding: UTF-8
|
387
|
+
string: |-
|
388
|
+
{
|
389
|
+
"stores": [
|
390
|
+
{
|
391
|
+
"store_key": 31352623,
|
392
|
+
"name": "Ruibal's Plants of Texas",
|
393
|
+
"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!",
|
394
|
+
"logo_url": "https://static-demo.accessdevelopment.com/brand/9b50a7909b11d1406fc54b0fc631943337a5a39d/original.png",
|
395
|
+
"national": false,
|
396
|
+
"active_location_count": 3,
|
397
|
+
"active_offer_count": 3,
|
398
|
+
"store_categories": [
|
399
|
+
{
|
400
|
+
"category_name": "Garden Centers",
|
401
|
+
"category_key": 1050,
|
402
|
+
"category_parent_key": 1039,
|
403
|
+
"category_parent_name": "Home & Garden",
|
404
|
+
"category_type": "subcategory"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"links": {
|
408
|
+
"find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=31352623",
|
409
|
+
"find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=31352623"
|
410
|
+
}
|
411
|
+
}
|
412
|
+
]
|
413
|
+
}
|
414
|
+
http_version:
|
415
|
+
recorded_at: Thu, 27 Aug 2015 19:50:28 GMT
|
416
|
+
- request:
|
417
|
+
method: get
|
418
|
+
uri: https://offer-demo.adcrws.com/v1/stores/30368039?member_key=API_RUBY_GEM_TEST
|
419
|
+
body:
|
420
|
+
encoding: US-ASCII
|
421
|
+
string: ''
|
422
|
+
headers:
|
423
|
+
Access-Token:
|
424
|
+
- token_without_limit
|
425
|
+
Content-Type:
|
426
|
+
- application/json
|
427
|
+
Accept:
|
428
|
+
- application/json
|
429
|
+
response:
|
430
|
+
status:
|
431
|
+
code: 200
|
432
|
+
message: OK
|
433
|
+
headers:
|
434
|
+
Access-Control-Allow-Headers:
|
435
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
436
|
+
Access-Control-Allow-Methods:
|
437
|
+
- POST, GET, PUT, DELETE, OPTIONS
|
438
|
+
Access-Control-Max-Age:
|
439
|
+
- '1728000'
|
440
|
+
Access-Control-Request-Method:
|
441
|
+
- GET
|
442
|
+
Cache-Control:
|
443
|
+
- max-age=0, private, must-revalidate
|
444
|
+
Content-Type:
|
445
|
+
- application/json
|
446
|
+
Date:
|
447
|
+
- Thu, 27 Aug 2015 20:17:38 GMT
|
448
|
+
Etag:
|
449
|
+
- '"fb9bca86cc721fad64d27068bd1187d8"'
|
450
|
+
Server:
|
451
|
+
- nginx/1.6.2
|
452
|
+
Strict-Transport-Security:
|
453
|
+
- max-age=31536000
|
454
|
+
X-Content-Type-Options:
|
455
|
+
- nosniff
|
456
|
+
X-Frame-Options:
|
457
|
+
- SAMEORIGIN
|
458
|
+
X-Request-Id:
|
459
|
+
- adfb94d1-3746-41c2-b62b-d1c7142d708c
|
460
|
+
X-Runtime:
|
461
|
+
- '0.016851'
|
462
|
+
X-Xss-Protection:
|
463
|
+
- 1; mode=block
|
464
|
+
Content-Length:
|
465
|
+
- '1011'
|
466
|
+
Connection:
|
467
|
+
- keep-alive
|
468
|
+
body:
|
469
|
+
encoding: UTF-8
|
470
|
+
string: |-
|
471
|
+
{
|
472
|
+
"stores": [
|
473
|
+
{
|
474
|
+
"store_key": 30368039,
|
475
|
+
"name": "Country Club Bowl",
|
476
|
+
"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.",
|
477
|
+
"logo_url": "https://static-demo.accessdevelopment.com/brand/09643f63f1d3cdb2d7b83c4010c60ba14db84d17/original.png",
|
478
|
+
"national": false,
|
479
|
+
"active_location_count": 1,
|
480
|
+
"active_offer_count": 1,
|
481
|
+
"store_categories": [
|
482
|
+
{
|
483
|
+
"category_name": "Fun Centers",
|
484
|
+
"category_key": 1013,
|
485
|
+
"category_parent_key": 59,
|
486
|
+
"category_parent_name": "Entertainment & Recreation",
|
487
|
+
"category_type": "subcategory"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"links": {
|
491
|
+
"find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=30368039",
|
492
|
+
"find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=30368039"
|
493
|
+
}
|
494
|
+
}
|
495
|
+
]
|
496
|
+
}
|
497
|
+
http_version:
|
498
|
+
recorded_at: Thu, 27 Aug 2015 20:17:38 GMT
|
333
499
|
recorded_with: VCR 2.9.3
|