access 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/lib/access/request.rb +2 -0
- data/lib/access/version.rb +1 -1
- data/test/access/category_test.rb +3 -4
- data/test/fixtures/autocomplete_search.yml +29 -32
- data/test/fixtures/autocomplete_search_categories.yml +8 -10
- data/test/fixtures/autocomplete_search_locations.yml +4 -6
- data/test/fixtures/autocomplete_search_offers.yml +9 -11
- data/test/fixtures/autocomplete_search_stores.yml +11 -13
- data/test/fixtures/category_find.yml +24 -19
- data/test/fixtures/category_search.yml +6254 -138
- data/test/fixtures/category_search_fail_member_key.yml +4 -6
- data/test/fixtures/filter_find.yml +6 -8
- data/test/fixtures/filter_search.yml +7 -9
- data/test/fixtures/location_find.yml +4 -6
- data/test/fixtures/location_search.yml +4 -6
- data/test/fixtures/location_search_fail_member_key.yml +4 -6
- data/test/fixtures/national_stores.yml +6 -8
- data/test/fixtures/oauth_application_find.yml +4 -6
- data/test/fixtures/oauth_application_search.yml +7 -9
- data/test/fixtures/oauth_application_token_find.yml +4 -6
- data/test/fixtures/oauth_application_token_search.yml +4 -6
- data/test/fixtures/offer_find.yml +137 -139
- data/test/fixtures/offer_search.yml +82 -84
- data/test/fixtures/offer_search_fail_member_key.yml +4 -6
- data/test/fixtures/redeem_offer_no_redeem_type.yml +19 -19
- data/test/fixtures/store_find.yml +81 -0
- data/test/fixtures/store_search.yml +17 -19
- data/test/fixtures/store_search_fail_member_key.yml +4 -6
- data/test/fixtures/subcategory_find.yml +24 -19
- data/test/fixtures/token_find.yml +89 -0
- data/test/fixtures/token_search.yml +31 -32
- data/test/fixtures/verify_filter.yml +14 -16
- data/test/fixtures/verify_token.yml +4 -6
- metadata +1 -1
@@ -212,21 +212,19 @@ http_interactions:
|
|
212
212
|
Content-Type:
|
213
213
|
- application/json
|
214
214
|
Date:
|
215
|
-
-
|
215
|
+
- Fri, 11 Sep 2015 20:33:19 GMT
|
216
216
|
Etag:
|
217
|
-
- '"
|
217
|
+
- '"028095cd3a1bc5594e6c6994424e7c60"'
|
218
218
|
Server:
|
219
219
|
- nginx/1.6.2
|
220
|
-
Strict-Transport-Security:
|
221
|
-
- max-age=31536000
|
222
220
|
X-Content-Type-Options:
|
223
221
|
- nosniff
|
224
222
|
X-Frame-Options:
|
225
223
|
- SAMEORIGIN
|
226
224
|
X-Request-Id:
|
227
|
-
-
|
225
|
+
- c2cab20e-ee98-44c6-b59d-4ca11ae6b342
|
228
226
|
X-Runtime:
|
229
|
-
- '0.
|
227
|
+
- '0.100491'
|
230
228
|
X-Xss-Protection:
|
231
229
|
- 1; mode=block
|
232
230
|
Content-Length:
|
@@ -239,83 +237,83 @@ http_interactions:
|
|
239
237
|
ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAxOTI2LAogICAg
|
240
238
|
ImN1cnJlbnRfcGFnZSI6IDEsCiAgICAidG90YWxfcGFnZXMiOiAxOTI2LAog
|
241
239
|
ICAgInJlc3VsdHNfcGVyX3BhZ2UiOiAxCiAgfSwKICAib2ZmZXJzIjogWwog
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
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
|
-
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iOiAwLjAsCiAgICAgICJtYXhpbXVtX2F3
|
269
|
+
YXJkIjogMC4wLAogICAgICAib2ZmZXJfdmFsdWUiOiA3LAogICAgICAiZGlz
|
270
|
+
Y291bnRfdHlwZSI6ICJwZXJjZW50IiwKICAgICAgImRpc2NvdW50X3ZhbHVl
|
271
|
+
IjogMjAuMCwKICAgICAgInByb21vdGlvbl9jb2RlIjogZmFsc2UsCiAgICAg
|
272
|
+
ICJyZWRlbXB0aW9uX21ldGhvZHMiOiBbCiAgICAgICAgImluc3RvcmVfcHJp
|
273
|
+
bnQiCiAgICAgIF0sCiAgICAgICJjYXRlZ29yaWVzIjogWwogICAgICAgIHsK
|
274
|
+
ICAgICAgICAgICJjYXRlZ29yeV9uYW1lIjogIkNhc3VhbCAmIEZpbmUgRGlu
|
275
|
+
aW5nIiwKICAgICAgICAgICJjYXRlZ29yeV9rZXkiOiAxMDA5LAogICAgICAg
|
276
|
+
ICAgImNhdGVnb3J5X3BhcmVudF9rZXkiOiAzOSwKICAgICAgICAgICJjYXRl
|
277
|
+
Z29yeV9wYXJlbnRfbmFtZSI6ICJEaW5pbmcgJiBGb29kIiwKICAgICAgICAg
|
278
|
+
ICJjYXRlZ29yeV90eXBlIjogInN1YmNhdGVnb3J5IgogICAgICAgIH0KICAg
|
279
|
+
ICAgXSwKICAgICAgIm9mZmVyX3N0b3JlIjogewogICAgICAgICJuYW1lIjog
|
280
|
+
IkZpZ2FybydzIEl0YWxpYW4gUGl6emEiLAogICAgICAgICJkZXNjcmlwdGlv
|
281
|
+
biI6ICJUYWtlIHlvdXIgdGltZSBhbmQgb3JkZXIgd2hhdCB5b3UnZCBsaWtl
|
282
|
+
LiBXaGV0aGVyIHlvdSBlbmpveSBjbGFzc2ljIHBpenphcyBsaWtlIHBlcHBl
|
283
|
+
cm9uaSBvciBjaGVlc2Ugb3IgaWYgeW91IHdhbnQgdG8gc3BpY2UgaXQgdXAg
|
284
|
+
Ynkgb3JkZXJpbmcgQkJRIHNhdWNlIG9yIHRoaW4gY3J1c3QgLSBXZSBoYXZl
|
285
|
+
IHdoYXQgeW91IHdhbnQhIFRyeSBGaWdhcm8ncyBQaXp6YSAtIEZsYXZvcnMg
|
286
|
+
VGhhdCBTaW5nLiIsCiAgICAgICAgInN0b3JlX2tleSI6IDE4OTM4NDk4LAog
|
287
|
+
ICAgICAgICJwaHlzaWNhbF9sb2NhdGlvbiI6IHsKICAgICAgICAgICJsb2Nh
|
288
|
+
dGlvbl9uYW1lIjogIkZpZ2FybydzIEl0YWxpYW4gUGl6emEiLAogICAgICAg
|
289
|
+
ICAgIndlYl9hZGRyZXNzIjogImh0dHA6Ly93d3cuZmlnYXJvcy5jb20iLAog
|
290
|
+
ICAgICAgICAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICJsb2Nh
|
291
|
+
dGlvbl9rZXkiOiAyNDQ4MjAsCiAgICAgICAgICAicG9zdGFsX2NvZGUiOiAi
|
292
|
+
OTg2MzIiLAogICAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICAg
|
293
|
+
InN0cmVldF9hZGRyZXNzIjogIjMyMDggT2NlYW4gQmVhY2ggSHd5IiwKICAg
|
294
|
+
ICAgICAgICJleHRlbmRlZF9zdHJlZXRfYWRkcmVzcyI6IG51bGwsCiAgICAg
|
295
|
+
ICAgICAiY2l0eV9sb2NhbGl0eSI6ICJMb25ndmlldyIsCiAgICAgICAgICAi
|
296
|
+
c3RhdGVfcmVnaW9uIjogIldBIiwKICAgICAgICAgICJnZW9sb2NhdGlvbl9h
|
297
|
+
cnJheSI6IFsKICAgICAgICAgICAgLTEyMi45NzEwNSwKICAgICAgICAgICAg
|
298
|
+
NDYuMTQ4MzEKICAgICAgICAgIF0sCiAgICAgICAgICAiZ2VvbG9jYXRpb24i
|
299
|
+
OiB7CiAgICAgICAgICAgICJsYXQiOiA0Ni4xNDgzMSwKICAgICAgICAgICAg
|
300
|
+
ImxvbiI6IC0xMjIuOTcxMDUKICAgICAgICAgIH0sCiAgICAgICAgICAicGhv
|
301
|
+
bmVfbnVtYmVyIjogIjM2MC0zNTMtMzMzMyIKICAgICAgICB9CiAgICAgIH0s
|
302
|
+
CiAgICAgICJmYWNldHMiOiBbCgogICAgICBdLAogICAgICAibG9jYXRpb25f
|
303
|
+
a2V5d29yZHMiOiBbCgogICAgICBdLAogICAgICAibGlua3MiOiB7CiAgICAg
|
304
|
+
ICAgInJlZGVlbV9vZmZlciI6IHsKICAgICAgICAgICJpbnN0b3JlX3ByaW50
|
305
|
+
IjogImh0dHBzOi8vcmVkZWVtLWRlbW8uYWRjcndzLmNvbS92MS9yZWRlZW0v
|
306
|
+
NzM2NTI4NS9pbnN0b3JlX3ByaW50IgogICAgICAgIH0sCiAgICAgICAgInNo
|
307
|
+
b3dfb2ZmZXIiOiAiaHR0cHM6Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEv
|
308
|
+
b2ZmZXJzLzczNjUyODUiLAogICAgICAgICJzaG93X3N0b3JlIjogImh0dHBz
|
309
|
+
Oi8vb2ZmZXItZGVtby5hZGNyd3MuY29tL3YxL3N0b3Jlcy8xODkzODQ5OCIs
|
310
|
+
CiAgICAgICAgInNob3dfbG9jYXRpb24iOiAiaHR0cHM6Ly9vZmZlci1kZW1v
|
311
|
+
LmFkY3J3cy5jb20vdjEvbG9jYXRpb25zLzI0NDgyMCIsCiAgICAgICAgImZp
|
312
|
+
bmRfb2ZmZXJzX2F0X3RoaXNfc3RvcmUiOiAiaHR0cHM6Ly9vZmZlci1kZW1v
|
313
|
+
LmFkY3J3cy5jb20vdjEvb2ZmZXJzP3N0b3JlX2tleT0xODkzODQ5OCIsCiAg
|
314
|
+
ICAgICAgImZpbmRfb2ZmZXJzX2F0X3RoaXNfbG9jYXRpb24iOiAiaHR0cHM6
|
315
|
+
Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEvb2ZmZXJzP2xvY2F0aW9uX2tl
|
316
|
+
eT0yNDQ4MjAiLAogICAgICAgICJmaW5kX3RoaXNfb2ZmZXJfYXRfbW9yZV9s
|
319
317
|
b2NhdGlvbnMiOiAiaHR0cHM6Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEv
|
320
318
|
b2ZmZXJzP29mZmVyX2dyb3VwX2tleT0xMzk2OTciLAogICAgICAgICJmaW5k
|
321
319
|
X2xvY2F0aW9uc193aXRoX3RoaXNfb2ZmZXIiOiAiaHR0cHM6Ly9vZmZlci1k
|
@@ -327,5 +325,5 @@ http_interactions:
|
|
327
325
|
by5hZGNyd3MuY29tL3YxL29mZmVycz9tZW1iZXJfa2V5PUFQSV9SVUJZX0dF
|
328
326
|
TV9URVNUJnBhZ2U9MiZwZXJfcGFnZT0xJnF1ZXJ5PXBpenphIgogIH0KfQ==
|
329
327
|
http_version:
|
330
|
-
recorded_at:
|
328
|
+
recorded_at: Fri, 11 Sep 2015 20:33:19 GMT
|
331
329
|
recorded_with: VCR 2.9.3
|
@@ -71,19 +71,17 @@ http_interactions:
|
|
71
71
|
Content-Type:
|
72
72
|
- application/json
|
73
73
|
Date:
|
74
|
-
-
|
74
|
+
- Fri, 11 Sep 2015 20:33:13 GMT
|
75
75
|
Server:
|
76
76
|
- nginx/1.6.2
|
77
|
-
Strict-Transport-Security:
|
78
|
-
- max-age=31536000
|
79
77
|
X-Content-Type-Options:
|
80
78
|
- nosniff
|
81
79
|
X-Frame-Options:
|
82
80
|
- SAMEORIGIN
|
83
81
|
X-Request-Id:
|
84
|
-
-
|
82
|
+
- 4555bb4a-2bbf-4139-b987-02ad66a6c85e
|
85
83
|
X-Runtime:
|
86
|
-
- '0.
|
84
|
+
- '0.009978'
|
87
85
|
X-Xss-Protection:
|
88
86
|
- 1; mode=block
|
89
87
|
Content-Length:
|
@@ -98,5 +96,5 @@ http_interactions:
|
|
98
96
|
"status": 401
|
99
97
|
}
|
100
98
|
http_version:
|
101
|
-
recorded_at:
|
99
|
+
recorded_at: Fri, 11 Sep 2015 20:33:13 GMT
|
102
100
|
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/10569688/?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
|
-
- Thu, 27 Aug 2015 19:
|
304
|
+
- Thu, 27 Aug 2015 19:48:08 GMT
|
305
305
|
Etag:
|
306
|
-
- '"
|
306
|
+
- '"059b9b502de27b3d272a5adc88efe6201"'
|
307
307
|
Server:
|
308
308
|
- nginx/1.6.2
|
309
309
|
Content-Length:
|
310
|
-
- '
|
310
|
+
- '137'
|
311
311
|
Connection:
|
312
312
|
- keep-alive
|
313
313
|
body:
|
314
314
|
encoding: UTF-8
|
315
|
-
string: '{"
|
315
|
+
string: '{"links":[{"rel":"instore_print","href":"https://redeem-demo.adcrws.com/v1/redeem/10569688/instore_print?member_key=API_RUBY_GEM_TEST"}]}'
|
316
316
|
http_version:
|
317
|
-
recorded_at: Thu, 27 Aug 2015 19:
|
317
|
+
recorded_at: Thu, 27 Aug 2015 19:48:08 GMT
|
318
318
|
- request:
|
319
319
|
method: get
|
320
|
-
uri: https://redeem-demo.adcrws.com/v1/redeem/10569688
|
320
|
+
uri: https://redeem-demo.adcrws.com/v1/redeem/10569688/instore_print?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
|
-
- Thu, 27 Aug 2015
|
339
|
+
- Thu, 27 Aug 2015 20:17:42 GMT
|
340
340
|
Etag:
|
341
|
-
- '"
|
341
|
+
- '"000895ffab1a8caa7836804e9aa82b9b6"'
|
342
342
|
Server:
|
343
343
|
- nginx/1.6.2
|
344
344
|
Content-Length:
|
345
|
-
- '
|
345
|
+
- '204'
|
346
346
|
Connection:
|
347
347
|
- keep-alive
|
348
348
|
body:
|
349
349
|
encoding: UTF-8
|
350
|
-
string: '{"
|
350
|
+
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/be87aadee48923b51815dd7a4ae2aacaa564b169/original.html"},"links":[]}'
|
351
351
|
http_version:
|
352
|
-
recorded_at: Thu, 27 Aug 2015
|
352
|
+
recorded_at: Thu, 27 Aug 2015 20:17:42 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
|
+
- Fri, 11 Sep 2015 20:33:19 GMT
|
375
375
|
Etag:
|
376
376
|
- '"0ff5ab06abc27ae6bc33adccffb86e1ff"'
|
377
377
|
Server:
|
@@ -384,10 +384,10 @@ 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: Fri, 11 Sep 2015 20:33:19 GMT
|
388
388
|
- request:
|
389
389
|
method: get
|
390
|
-
uri: https://redeem-demo.adcrws.com/v1/redeem/
|
390
|
+
uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST
|
391
391
|
body:
|
392
392
|
encoding: US-ASCII
|
393
393
|
string: ''
|
@@ -406,9 +406,9 @@ http_interactions:
|
|
406
406
|
Content-Type:
|
407
407
|
- application/json;charset=UTF-8
|
408
408
|
Date:
|
409
|
-
-
|
409
|
+
- Fri, 11 Sep 2015 20:33:20 GMT
|
410
410
|
Etag:
|
411
|
-
- '"
|
411
|
+
- '"0a22b16c020636a6f3934d701478fe9fb"'
|
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/292f89af98fdb2ab262e609d98a0866fdf8b31c4/original.html"},"links":[]}'
|
421
421
|
http_version:
|
422
|
-
recorded_at:
|
422
|
+
recorded_at: Fri, 11 Sep 2015 20:33:19 GMT
|
423
423
|
recorded_with: VCR 2.9.3
|
@@ -496,4 +496,85 @@ http_interactions:
|
|
496
496
|
}
|
497
497
|
http_version:
|
498
498
|
recorded_at: Thu, 27 Aug 2015 20:17:38 GMT
|
499
|
+
- request:
|
500
|
+
method: get
|
501
|
+
uri: https://offer-demo.adcrws.com/v1/stores/19016615?member_key=API_RUBY_GEM_TEST
|
502
|
+
body:
|
503
|
+
encoding: US-ASCII
|
504
|
+
string: ''
|
505
|
+
headers:
|
506
|
+
Access-Token:
|
507
|
+
- token_without_limit
|
508
|
+
Content-Type:
|
509
|
+
- application/json
|
510
|
+
Accept:
|
511
|
+
- application/json
|
512
|
+
response:
|
513
|
+
status:
|
514
|
+
code: 200
|
515
|
+
message: OK
|
516
|
+
headers:
|
517
|
+
Access-Control-Allow-Headers:
|
518
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
519
|
+
Access-Control-Allow-Methods:
|
520
|
+
- POST, GET, PUT, DELETE, OPTIONS
|
521
|
+
Access-Control-Max-Age:
|
522
|
+
- '1728000'
|
523
|
+
Access-Control-Request-Method:
|
524
|
+
- GET
|
525
|
+
Cache-Control:
|
526
|
+
- max-age=0, private, must-revalidate
|
527
|
+
Content-Type:
|
528
|
+
- application/json
|
529
|
+
Date:
|
530
|
+
- Fri, 11 Sep 2015 20:33:21 GMT
|
531
|
+
Etag:
|
532
|
+
- '"111a49e6ac3ee7f9c1b0ce782cd4a814"'
|
533
|
+
Server:
|
534
|
+
- nginx/1.6.2
|
535
|
+
X-Content-Type-Options:
|
536
|
+
- nosniff
|
537
|
+
X-Frame-Options:
|
538
|
+
- SAMEORIGIN
|
539
|
+
X-Request-Id:
|
540
|
+
- 8f99ec9e-3fc5-4fad-b120-638d6b6dbee9
|
541
|
+
X-Runtime:
|
542
|
+
- '0.018045'
|
543
|
+
X-Xss-Protection:
|
544
|
+
- 1; mode=block
|
545
|
+
Content-Length:
|
546
|
+
- '1216'
|
547
|
+
Connection:
|
548
|
+
- keep-alive
|
549
|
+
body:
|
550
|
+
encoding: UTF-8
|
551
|
+
string: |-
|
552
|
+
{
|
553
|
+
"stores": [
|
554
|
+
{
|
555
|
+
"store_key": 19016615,
|
556
|
+
"name": "Oakland Aviation Museum",
|
557
|
+
"description": "Oakland Aviation Museum, formerly called Western Aerospace Museum, was founded in 1981 as a non-profit organization operating an aviation museum located at North Field of Oakland International Airport in Oakland, California. It has over 30 vintage and modern airplanes, both civilian and military, and other displays that highlight noted aviators and innovators.",
|
558
|
+
"logo_url": "https://static-demo.accessdevelopment.com/brand/927ccecda0edfdf2d34c561249f4e1fc5fb92b7f/original.png",
|
559
|
+
"national": false,
|
560
|
+
"active_location_count": 1,
|
561
|
+
"active_offer_count": 1,
|
562
|
+
"store_categories": [
|
563
|
+
{
|
564
|
+
"category_name": "Museums, Zoos & Tours",
|
565
|
+
"category_key": 1015,
|
566
|
+
"category_parent_key": 59,
|
567
|
+
"category_parent_name": "Entertainment & Recreation",
|
568
|
+
"category_type": "subcategory"
|
569
|
+
}
|
570
|
+
],
|
571
|
+
"links": {
|
572
|
+
"find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=19016615",
|
573
|
+
"find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=19016615"
|
574
|
+
}
|
575
|
+
}
|
576
|
+
]
|
577
|
+
}
|
578
|
+
http_version:
|
579
|
+
recorded_at: Fri, 11 Sep 2015 20:33:21 GMT
|
499
580
|
recorded_with: VCR 2.9.3
|
@@ -161,25 +161,23 @@ http_interactions:
|
|
161
161
|
Content-Type:
|
162
162
|
- application/json
|
163
163
|
Date:
|
164
|
-
-
|
164
|
+
- Fri, 11 Sep 2015 20:33:22 GMT
|
165
165
|
Etag:
|
166
|
-
- '"
|
166
|
+
- '"35ba8d15d7773b5a5f28410567cc8ae8"'
|
167
167
|
Server:
|
168
168
|
- nginx/1.6.2
|
169
|
-
Strict-Transport-Security:
|
170
|
-
- max-age=31536000
|
171
169
|
X-Content-Type-Options:
|
172
170
|
- nosniff
|
173
171
|
X-Frame-Options:
|
174
172
|
- SAMEORIGIN
|
175
173
|
X-Request-Id:
|
176
|
-
-
|
174
|
+
- 9d6a6662-f1e4-4a1a-bbe1-7fa97fad1bdf
|
177
175
|
X-Runtime:
|
178
|
-
- '0.
|
176
|
+
- '0.018896'
|
179
177
|
X-Xss-Protection:
|
180
178
|
- 1; mode=block
|
181
179
|
Content-Length:
|
182
|
-
- '
|
180
|
+
- '1565'
|
183
181
|
Connection:
|
184
182
|
- keep-alive
|
185
183
|
body:
|
@@ -187,34 +185,34 @@ http_interactions:
|
|
187
185
|
string: |-
|
188
186
|
{
|
189
187
|
"info": {
|
190
|
-
"total_results":
|
188
|
+
"total_results": 25922,
|
191
189
|
"current_page": 1,
|
192
|
-
"total_pages":
|
190
|
+
"total_pages": 25922,
|
193
191
|
"results_per_page": 1
|
194
192
|
},
|
195
193
|
"stores": [
|
196
194
|
{
|
197
195
|
"search_relevance": 1.0,
|
198
|
-
"store_key":
|
199
|
-
"name": "
|
200
|
-
"description": "
|
201
|
-
"logo_url": "https://static-demo.accessdevelopment.com/brand/
|
196
|
+
"store_key": 19016615,
|
197
|
+
"name": "Oakland Aviation Museum",
|
198
|
+
"description": "Oakland Aviation Museum, formerly called Western Aerospace Museum, was founded in 1981 as a non-profit organization operating an aviation museum located at North Field of Oakland International Airport in Oakland, California. It has over 30 vintage and modern airplanes, both civilian and military, and other displays that highlight noted aviators and innovators.",
|
199
|
+
"logo_url": "https://static-demo.accessdevelopment.com/brand/927ccecda0edfdf2d34c561249f4e1fc5fb92b7f/original.png",
|
202
200
|
"national": false,
|
203
201
|
"active_location_count": 1,
|
204
202
|
"active_offer_count": 1,
|
205
203
|
"store_categories": [
|
206
204
|
{
|
207
|
-
"category_name": "
|
208
|
-
"category_key":
|
205
|
+
"category_name": "Museums, Zoos & Tours",
|
206
|
+
"category_key": 1015,
|
209
207
|
"category_parent_key": 59,
|
210
208
|
"category_parent_name": "Entertainment & Recreation",
|
211
209
|
"category_type": "subcategory"
|
212
210
|
}
|
213
211
|
],
|
214
212
|
"links": {
|
215
|
-
"show_store": "https://offer-demo.adcrws.com/v1/stores/
|
216
|
-
"find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=
|
217
|
-
"find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=
|
213
|
+
"show_store": "https://offer-demo.adcrws.com/v1/stores/19016615",
|
214
|
+
"find_offers_for_this_store": "https://offer-demo.adcrws.com/v1/offers?store_key=19016615",
|
215
|
+
"find_locations_for_this_store": "https://offer-demo.adcrws.com/v1/locations?store_key=19016615"
|
218
216
|
}
|
219
217
|
}
|
220
218
|
],
|
@@ -223,5 +221,5 @@ http_interactions:
|
|
223
221
|
}
|
224
222
|
}
|
225
223
|
http_version:
|
226
|
-
recorded_at:
|
224
|
+
recorded_at: Fri, 11 Sep 2015 20:33:22 GMT
|
227
225
|
recorded_with: VCR 2.9.3
|