access 2.0.41 → 2.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/access/campaign.rb +2 -0
- data/lib/access/filter.rb +0 -7
- data/lib/access/response.rb +4 -4
- data/lib/access/version.rb +1 -1
- data/test/access/campaign_test.rb +11 -9
- data/test/access/channel_test.rb +1 -0
- data/test/access/filter_test.rb +0 -4
- data/test/access/spot_test.rb +4 -7
- data/test/vcr/cassettes/all_usage.yml +36 -44
- data/test/vcr/cassettes/autocomplete_search.yml +49 -48
- data/test/vcr/cassettes/autocomplete_search_categories.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_locations.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_offers.yml +29 -29
- data/test/vcr/cassettes/autocomplete_search_stores.yml +27 -27
- data/test/vcr/cassettes/campaign_find.yml +182 -5526
- data/test/vcr/cassettes/campaign_search.yml +1206 -5525
- data/test/vcr/cassettes/category_find.yml +32 -26
- data/test/vcr/cassettes/category_search.yml +51 -51
- data/test/vcr/cassettes/category_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/channel_find.yml +7 -4
- data/test/vcr/cassettes/channel_search.yml +17 -15
- data/test/vcr/cassettes/filter_find.yml +131 -25
- data/test/vcr/cassettes/filter_search.yml +29 -31
- data/test/vcr/cassettes/find_redemption_by_member_key.yml +34 -34
- data/test/vcr/cassettes/location_find.yml +459 -438
- data/test/vcr/cassettes/location_search.yml +93 -84
- data/test/vcr/cassettes/location_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/member_location_recent.yml +4 -8
- data/test/vcr/cassettes/member_query_frequent.yml +4 -8
- data/test/vcr/cassettes/member_query_recent.yml +4 -8
- data/test/vcr/cassettes/member_show_failure.yml +3 -3
- data/test/vcr/cassettes/member_show_success.yml +4 -4
- data/test/vcr/cassettes/member_update_success.yml +4 -139
- data/test/vcr/cassettes/national_stores.yml +1775 -1827
- data/test/vcr/cassettes/oauth_application_find.yml +34 -35
- data/test/vcr/cassettes/oauth_application_search.yml +36 -37
- data/test/vcr/cassettes/oauth_application_token_find.yml +46 -47
- data/test/vcr/cassettes/oauth_application_token_search.yml +47 -48
- data/test/vcr/cassettes/offer_find.yml +117 -108
- data/test/vcr/cassettes/offer_find_uses_remaining.yml +8 -8
- data/test/vcr/cassettes/offer_find_with_offer_uses_remaining.yml +97 -95
- data/test/vcr/cassettes/offer_search.yml +113 -113
- data/test/vcr/cassettes/offer_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/offer_with_aggregations.yml +843 -844
- data/test/vcr/cassettes/redeem_offer_no_redeem_type.yml +4 -4
- data/test/vcr/cassettes/redeem_offer_with_redeem_type.yml +6 -6
- data/test/vcr/cassettes/redeem_offer_with_redeem_type_for_uses_remaining_test.yml +5 -5
- data/test/vcr/cassettes/search_redemption_by_member_key.yml +101 -101
- data/test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml +27 -27
- data/test/vcr/cassettes/spot_find.yml +9 -7
- data/test/vcr/cassettes/spot_search_by_campaign.yml +2901 -235
- data/test/vcr/cassettes/spot_search_by_channel.yml +1142 -238
- data/test/vcr/cassettes/store_find.yml +32 -26
- data/test/vcr/cassettes/store_search.yml +28 -28
- data/test/vcr/cassettes/store_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/subcategory_find.yml +32 -26
- data/test/vcr/cassettes/token_find.yml +54 -48
- data/test/vcr/cassettes/token_get_first_token.yml +56 -50
- data/test/vcr/cassettes/token_search.yml +56 -50
- data/test/vcr/cassettes/usage.yml +36 -44
- data/test/vcr/cassettes/usage_other.yml +36 -44
- data/test/vcr/cassettes/user_register_failure.yml +3 -3
- data/test/vcr/cassettes/user_update_success.yml +4 -4
- data/test/vcr/cassettes/verify_filter.yml +37 -37
- data/test/vcr/cassettes/verify_token.yml +31 -27
- metadata +2 -4
- data/test/vcr/cassettes/offer_uses_remaining.yml +0 -307
|
@@ -21,11 +21,11 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- application/json;charset=UTF-8
|
|
23
23
|
Date:
|
|
24
|
-
-
|
|
24
|
+
- Thu, 21 Jan 2016 18:34:42 GMT
|
|
25
25
|
Etag:
|
|
26
26
|
- '"0ff5ab06abc27ae6bc33adccffb86e1ff"'
|
|
27
27
|
Server:
|
|
28
|
-
- nginx/1.
|
|
28
|
+
- nginx/1.8.0
|
|
29
29
|
Content-Length:
|
|
30
30
|
- '136'
|
|
31
31
|
Connection:
|
|
@@ -34,5 +34,5 @@ http_interactions:
|
|
|
34
34
|
encoding: UTF-8
|
|
35
35
|
string: '{"links":[{"rel":"instore_print","href":"https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST"}]}'
|
|
36
36
|
http_version:
|
|
37
|
-
recorded_at:
|
|
38
|
-
recorded_with: VCR
|
|
37
|
+
recorded_at: Thu, 21 Jan 2016 18:34:47 GMT
|
|
38
|
+
recorded_with: VCR 3.0.0
|
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- application/json;charset=UTF-8
|
|
23
23
|
Date:
|
|
24
|
-
-
|
|
24
|
+
- Thu, 21 Jan 2016 18:34:43 GMT
|
|
25
25
|
Etag:
|
|
26
|
-
- '"
|
|
26
|
+
- '"0882cb7268a9bd018f5b688eb289137fe"'
|
|
27
27
|
Server:
|
|
28
|
-
- nginx/1.
|
|
28
|
+
- nginx/1.8.0
|
|
29
29
|
Content-Length:
|
|
30
30
|
- '204'
|
|
31
31
|
Connection:
|
|
32
32
|
- keep-alive
|
|
33
33
|
body:
|
|
34
34
|
encoding: UTF-8
|
|
35
|
-
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/
|
|
35
|
+
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/7510656c7c6b89122181c9b978070b265814027a/original.html"},"links":[]}'
|
|
36
36
|
http_version:
|
|
37
|
-
recorded_at:
|
|
38
|
-
recorded_with: VCR
|
|
37
|
+
recorded_at: Thu, 21 Jan 2016 18:34:48 GMT
|
|
38
|
+
recorded_with: VCR 3.0.0
|
|
@@ -21,9 +21,9 @@ http_interactions:
|
|
|
21
21
|
Content-Type:
|
|
22
22
|
- application/json;charset=UTF-8
|
|
23
23
|
Date:
|
|
24
|
-
-
|
|
24
|
+
- Thu, 21 Jan 2016 18:34:37 GMT
|
|
25
25
|
Etag:
|
|
26
|
-
- '"
|
|
26
|
+
- '"02c570fa50d93c493f94408c72640d290"'
|
|
27
27
|
Server:
|
|
28
28
|
- nginx/1.8.0
|
|
29
29
|
Content-Length:
|
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
|
32
32
|
- keep-alive
|
|
33
33
|
body:
|
|
34
34
|
encoding: UTF-8
|
|
35
|
-
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/
|
|
35
|
+
string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/cef7ec978b3f0b627c5b98b5894f4af3396aedca/original.html"},"links":[]}'
|
|
36
36
|
http_version:
|
|
37
|
-
recorded_at:
|
|
38
|
-
recorded_with: VCR
|
|
37
|
+
recorded_at: Thu, 21 Jan 2016 18:34:42 GMT
|
|
38
|
+
recorded_with: VCR 3.0.0
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://report-demo.adcrws.com/v1/members/API_RUBY_GEM_TEST/
|
|
5
|
+
uri: https://report-demo.adcrws.com/v1/members/API_RUBY_GEM_TEST/offer_redemptions
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -18,71 +18,71 @@ http_interactions:
|
|
|
18
18
|
code: 200
|
|
19
19
|
message: OK
|
|
20
20
|
headers:
|
|
21
|
-
|
|
22
|
-
-
|
|
21
|
+
Server:
|
|
22
|
+
- nginx/1.8.0
|
|
23
|
+
Date:
|
|
24
|
+
- Thu, 21 Jan 2016 18:34:29 GMT
|
|
25
|
+
Content-Type:
|
|
26
|
+
- application/json
|
|
27
|
+
Transfer-Encoding:
|
|
28
|
+
- chunked
|
|
29
|
+
Connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
X-Frame-Options:
|
|
32
|
+
- SAMEORIGIN
|
|
33
|
+
X-Xss-Protection:
|
|
34
|
+
- 1; mode=block
|
|
35
|
+
X-Content-Type-Options:
|
|
36
|
+
- nosniff
|
|
23
37
|
Access-Control-Allow-Methods:
|
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
|
25
|
-
Access-Control-Max-Age:
|
|
26
|
-
- '1728000'
|
|
27
39
|
Access-Control-Request-Method:
|
|
28
40
|
- GET
|
|
41
|
+
Access-Control-Allow-Headers:
|
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
|
43
|
+
Access-Control-Max-Age:
|
|
44
|
+
- '1728000'
|
|
45
|
+
Etag:
|
|
46
|
+
- '"09c8fce14f51000a9fea6ab4b5bb71d8"'
|
|
29
47
|
Cache-Control:
|
|
30
48
|
- max-age=0, private, must-revalidate
|
|
31
|
-
Content-Type:
|
|
32
|
-
- application/json
|
|
33
|
-
Date:
|
|
34
|
-
- Tue, 06 Oct 2015 20:04:53 GMT
|
|
35
|
-
Etag:
|
|
36
|
-
- '"822bae2a5471f1d602f8d54bb853fe34"'
|
|
37
|
-
Server:
|
|
38
|
-
- nginx/1.6.2
|
|
39
|
-
X-Content-Type-Options:
|
|
40
|
-
- nosniff
|
|
41
|
-
X-Frame-Options:
|
|
42
|
-
- SAMEORIGIN
|
|
43
49
|
X-Request-Id:
|
|
44
|
-
-
|
|
50
|
+
- 12c27b24-30c8-446a-827b-3a8ace8a578f
|
|
45
51
|
X-Runtime:
|
|
46
|
-
- '0.
|
|
47
|
-
X-Xss-Protection:
|
|
48
|
-
- 1; mode=block
|
|
49
|
-
Transfer-Encoding:
|
|
50
|
-
- chunked
|
|
51
|
-
Connection:
|
|
52
|
-
- keep-alive
|
|
52
|
+
- '0.042583'
|
|
53
53
|
body:
|
|
54
54
|
encoding: UTF-8
|
|
55
55
|
string: |-
|
|
56
56
|
{
|
|
57
57
|
"info": {
|
|
58
|
-
"total_results":
|
|
58
|
+
"total_results": 190,
|
|
59
59
|
"current_page": 1,
|
|
60
|
-
"total_pages":
|
|
60
|
+
"total_pages": 19,
|
|
61
61
|
"results_per_page": 10,
|
|
62
|
-
"total_savings":
|
|
62
|
+
"total_savings": 1339
|
|
63
63
|
},
|
|
64
64
|
"offer_redemptions": [
|
|
65
65
|
{
|
|
66
|
-
"usage_redeem_key":
|
|
66
|
+
"usage_redeem_key": 1610877,
|
|
67
67
|
"redeem_key": 1001,
|
|
68
68
|
"redeem_type": "instore_print_coupon",
|
|
69
|
-
"usage_date": "
|
|
69
|
+
"usage_date": "2016-01-21T18:14:56.000Z",
|
|
70
70
|
"offer": {
|
|
71
71
|
"offer_key": 7365285,
|
|
72
72
|
"offer_group_key": 139697,
|
|
73
73
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
74
|
-
"started_on": "2015-
|
|
75
|
-
"expires_on": "
|
|
74
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
75
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
76
76
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
77
77
|
"national_offer": true,
|
|
78
78
|
"uses_per_period": "unlimited",
|
|
79
79
|
"offer_set": "DISCOUNT",
|
|
80
80
|
"savings_amount": "20%",
|
|
81
|
-
"minimum_purchase": 0.0,
|
|
82
|
-
"maximum_award": 0.0,
|
|
81
|
+
"minimum_purchase": "0.0",
|
|
82
|
+
"maximum_award": "0.0",
|
|
83
83
|
"offer_value": 7,
|
|
84
84
|
"discount_type": "percent",
|
|
85
|
-
"discount_value": 20.0,
|
|
85
|
+
"discount_value": "20.0",
|
|
86
86
|
"promotion_code": false,
|
|
87
87
|
"redemption_methods": [
|
|
88
88
|
"instore_print"
|
|
@@ -132,26 +132,26 @@ http_interactions:
|
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"usage_redeem_key":
|
|
135
|
+
"usage_redeem_key": 1610876,
|
|
136
136
|
"redeem_key": 1001,
|
|
137
137
|
"redeem_type": "instore_print_coupon",
|
|
138
|
-
"usage_date": "
|
|
138
|
+
"usage_date": "2016-01-21T18:14:41.000Z",
|
|
139
139
|
"offer": {
|
|
140
140
|
"offer_key": 7365285,
|
|
141
141
|
"offer_group_key": 139697,
|
|
142
142
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
143
|
-
"started_on": "2015-
|
|
144
|
-
"expires_on": "
|
|
143
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
144
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
145
145
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
146
146
|
"national_offer": true,
|
|
147
147
|
"uses_per_period": "unlimited",
|
|
148
148
|
"offer_set": "DISCOUNT",
|
|
149
149
|
"savings_amount": "20%",
|
|
150
|
-
"minimum_purchase": 0.0,
|
|
151
|
-
"maximum_award": 0.0,
|
|
150
|
+
"minimum_purchase": "0.0",
|
|
151
|
+
"maximum_award": "0.0",
|
|
152
152
|
"offer_value": 7,
|
|
153
153
|
"discount_type": "percent",
|
|
154
|
-
"discount_value": 20.0,
|
|
154
|
+
"discount_value": "20.0",
|
|
155
155
|
"promotion_code": false,
|
|
156
156
|
"redemption_methods": [
|
|
157
157
|
"instore_print"
|
|
@@ -201,26 +201,26 @@ http_interactions:
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
|
-
"usage_redeem_key":
|
|
204
|
+
"usage_redeem_key": 1610875,
|
|
205
205
|
"redeem_key": 1001,
|
|
206
206
|
"redeem_type": "instore_print_coupon",
|
|
207
|
-
"usage_date": "
|
|
207
|
+
"usage_date": "2016-01-21T18:01:10.000Z",
|
|
208
208
|
"offer": {
|
|
209
209
|
"offer_key": 7365285,
|
|
210
210
|
"offer_group_key": 139697,
|
|
211
211
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
212
|
-
"started_on": "2015-
|
|
213
|
-
"expires_on": "
|
|
212
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
213
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
214
214
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
215
215
|
"national_offer": true,
|
|
216
216
|
"uses_per_period": "unlimited",
|
|
217
217
|
"offer_set": "DISCOUNT",
|
|
218
218
|
"savings_amount": "20%",
|
|
219
|
-
"minimum_purchase": 0.0,
|
|
220
|
-
"maximum_award": 0.0,
|
|
219
|
+
"minimum_purchase": "0.0",
|
|
220
|
+
"maximum_award": "0.0",
|
|
221
221
|
"offer_value": 7,
|
|
222
222
|
"discount_type": "percent",
|
|
223
|
-
"discount_value": 20.0,
|
|
223
|
+
"discount_value": "20.0",
|
|
224
224
|
"promotion_code": false,
|
|
225
225
|
"redemption_methods": [
|
|
226
226
|
"instore_print"
|
|
@@ -270,26 +270,26 @@ http_interactions:
|
|
|
270
270
|
}
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
|
-
"usage_redeem_key":
|
|
273
|
+
"usage_redeem_key": 1610874,
|
|
274
274
|
"redeem_key": 1001,
|
|
275
275
|
"redeem_type": "instore_print_coupon",
|
|
276
|
-
"usage_date": "
|
|
276
|
+
"usage_date": "2016-01-21T18:00:44.000Z",
|
|
277
277
|
"offer": {
|
|
278
278
|
"offer_key": 7365285,
|
|
279
279
|
"offer_group_key": 139697,
|
|
280
280
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
281
|
-
"started_on": "2015-
|
|
282
|
-
"expires_on": "
|
|
281
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
282
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
283
283
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
284
284
|
"national_offer": true,
|
|
285
285
|
"uses_per_period": "unlimited",
|
|
286
286
|
"offer_set": "DISCOUNT",
|
|
287
287
|
"savings_amount": "20%",
|
|
288
|
-
"minimum_purchase": 0.0,
|
|
289
|
-
"maximum_award": 0.0,
|
|
288
|
+
"minimum_purchase": "0.0",
|
|
289
|
+
"maximum_award": "0.0",
|
|
290
290
|
"offer_value": 7,
|
|
291
291
|
"discount_type": "percent",
|
|
292
|
-
"discount_value": 20.0,
|
|
292
|
+
"discount_value": "20.0",
|
|
293
293
|
"promotion_code": false,
|
|
294
294
|
"redemption_methods": [
|
|
295
295
|
"instore_print"
|
|
@@ -339,26 +339,26 @@ http_interactions:
|
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
|
-
"usage_redeem_key":
|
|
342
|
+
"usage_redeem_key": 1608548,
|
|
343
343
|
"redeem_key": 1001,
|
|
344
344
|
"redeem_type": "instore_print_coupon",
|
|
345
|
-
"usage_date": "2015-
|
|
345
|
+
"usage_date": "2015-11-03T22:59:46.000Z",
|
|
346
346
|
"offer": {
|
|
347
347
|
"offer_key": 7365285,
|
|
348
348
|
"offer_group_key": 139697,
|
|
349
349
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
350
|
-
"started_on": "2015-
|
|
351
|
-
"expires_on": "
|
|
350
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
351
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
352
352
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
353
353
|
"national_offer": true,
|
|
354
354
|
"uses_per_period": "unlimited",
|
|
355
355
|
"offer_set": "DISCOUNT",
|
|
356
356
|
"savings_amount": "20%",
|
|
357
|
-
"minimum_purchase": 0.0,
|
|
358
|
-
"maximum_award": 0.0,
|
|
357
|
+
"minimum_purchase": "0.0",
|
|
358
|
+
"maximum_award": "0.0",
|
|
359
359
|
"offer_value": 7,
|
|
360
360
|
"discount_type": "percent",
|
|
361
|
-
"discount_value": 20.0,
|
|
361
|
+
"discount_value": "20.0",
|
|
362
362
|
"promotion_code": false,
|
|
363
363
|
"redemption_methods": [
|
|
364
364
|
"instore_print"
|
|
@@ -408,26 +408,26 @@ http_interactions:
|
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
|
-
"usage_redeem_key":
|
|
411
|
+
"usage_redeem_key": 1608546,
|
|
412
412
|
"redeem_key": 1001,
|
|
413
413
|
"redeem_type": "instore_print_coupon",
|
|
414
|
-
"usage_date": "2015-
|
|
414
|
+
"usage_date": "2015-11-03T22:59:45.000Z",
|
|
415
415
|
"offer": {
|
|
416
416
|
"offer_key": 7365285,
|
|
417
417
|
"offer_group_key": 139697,
|
|
418
418
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
419
|
-
"started_on": "2015-
|
|
420
|
-
"expires_on": "
|
|
419
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
420
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
421
421
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
422
422
|
"national_offer": true,
|
|
423
423
|
"uses_per_period": "unlimited",
|
|
424
424
|
"offer_set": "DISCOUNT",
|
|
425
425
|
"savings_amount": "20%",
|
|
426
|
-
"minimum_purchase": 0.0,
|
|
427
|
-
"maximum_award": 0.0,
|
|
426
|
+
"minimum_purchase": "0.0",
|
|
427
|
+
"maximum_award": "0.0",
|
|
428
428
|
"offer_value": 7,
|
|
429
429
|
"discount_type": "percent",
|
|
430
|
-
"discount_value": 20.0,
|
|
430
|
+
"discount_value": "20.0",
|
|
431
431
|
"promotion_code": false,
|
|
432
432
|
"redemption_methods": [
|
|
433
433
|
"instore_print"
|
|
@@ -477,26 +477,26 @@ http_interactions:
|
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
|
-
"usage_redeem_key":
|
|
480
|
+
"usage_redeem_key": 1608547,
|
|
481
481
|
"redeem_key": 1001,
|
|
482
482
|
"redeem_type": "instore_print_coupon",
|
|
483
|
-
"usage_date": "2015-
|
|
483
|
+
"usage_date": "2015-11-03T22:59:45.000Z",
|
|
484
484
|
"offer": {
|
|
485
485
|
"offer_key": 7365285,
|
|
486
486
|
"offer_group_key": 139697,
|
|
487
487
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
488
|
-
"started_on": "2015-
|
|
489
|
-
"expires_on": "
|
|
488
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
489
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
490
490
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
491
491
|
"national_offer": true,
|
|
492
492
|
"uses_per_period": "unlimited",
|
|
493
493
|
"offer_set": "DISCOUNT",
|
|
494
494
|
"savings_amount": "20%",
|
|
495
|
-
"minimum_purchase": 0.0,
|
|
496
|
-
"maximum_award": 0.0,
|
|
495
|
+
"minimum_purchase": "0.0",
|
|
496
|
+
"maximum_award": "0.0",
|
|
497
497
|
"offer_value": 7,
|
|
498
498
|
"discount_type": "percent",
|
|
499
|
-
"discount_value": 20.0,
|
|
499
|
+
"discount_value": "20.0",
|
|
500
500
|
"promotion_code": false,
|
|
501
501
|
"redemption_methods": [
|
|
502
502
|
"instore_print"
|
|
@@ -546,26 +546,26 @@ http_interactions:
|
|
|
546
546
|
}
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
|
-
"usage_redeem_key":
|
|
549
|
+
"usage_redeem_key": 1608545,
|
|
550
550
|
"redeem_key": 1001,
|
|
551
551
|
"redeem_type": "instore_print_coupon",
|
|
552
|
-
"usage_date": "2015-
|
|
552
|
+
"usage_date": "2015-11-03T22:59:44.000Z",
|
|
553
553
|
"offer": {
|
|
554
554
|
"offer_key": 7365285,
|
|
555
555
|
"offer_group_key": 139697,
|
|
556
556
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
557
|
-
"started_on": "2015-
|
|
558
|
-
"expires_on": "
|
|
557
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
558
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
559
559
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
560
560
|
"national_offer": true,
|
|
561
561
|
"uses_per_period": "unlimited",
|
|
562
562
|
"offer_set": "DISCOUNT",
|
|
563
563
|
"savings_amount": "20%",
|
|
564
|
-
"minimum_purchase": 0.0,
|
|
565
|
-
"maximum_award": 0.0,
|
|
564
|
+
"minimum_purchase": "0.0",
|
|
565
|
+
"maximum_award": "0.0",
|
|
566
566
|
"offer_value": 7,
|
|
567
567
|
"discount_type": "percent",
|
|
568
|
-
"discount_value": 20.0,
|
|
568
|
+
"discount_value": "20.0",
|
|
569
569
|
"promotion_code": false,
|
|
570
570
|
"redemption_methods": [
|
|
571
571
|
"instore_print"
|
|
@@ -615,26 +615,26 @@ http_interactions:
|
|
|
615
615
|
}
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
|
-
"usage_redeem_key":
|
|
618
|
+
"usage_redeem_key": 1608544,
|
|
619
619
|
"redeem_key": 1001,
|
|
620
620
|
"redeem_type": "instore_print_coupon",
|
|
621
|
-
"usage_date": "2015-
|
|
621
|
+
"usage_date": "2015-11-03T22:59:41.000Z",
|
|
622
622
|
"offer": {
|
|
623
623
|
"offer_key": 7365285,
|
|
624
624
|
"offer_group_key": 139697,
|
|
625
625
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
626
|
-
"started_on": "2015-
|
|
627
|
-
"expires_on": "
|
|
626
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
627
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
628
628
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
629
629
|
"national_offer": true,
|
|
630
630
|
"uses_per_period": "unlimited",
|
|
631
631
|
"offer_set": "DISCOUNT",
|
|
632
632
|
"savings_amount": "20%",
|
|
633
|
-
"minimum_purchase": 0.0,
|
|
634
|
-
"maximum_award": 0.0,
|
|
633
|
+
"minimum_purchase": "0.0",
|
|
634
|
+
"maximum_award": "0.0",
|
|
635
635
|
"offer_value": 7,
|
|
636
636
|
"discount_type": "percent",
|
|
637
|
-
"discount_value": 20.0,
|
|
637
|
+
"discount_value": "20.0",
|
|
638
638
|
"promotion_code": false,
|
|
639
639
|
"redemption_methods": [
|
|
640
640
|
"instore_print"
|
|
@@ -684,26 +684,26 @@ http_interactions:
|
|
|
684
684
|
}
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
|
-
"usage_redeem_key":
|
|
687
|
+
"usage_redeem_key": 1608543,
|
|
688
688
|
"redeem_key": 1001,
|
|
689
689
|
"redeem_type": "instore_print_coupon",
|
|
690
|
-
"usage_date": "2015-
|
|
690
|
+
"usage_date": "2015-11-03T22:54:30.000Z",
|
|
691
691
|
"offer": {
|
|
692
692
|
"offer_key": 7365285,
|
|
693
693
|
"offer_group_key": 139697,
|
|
694
694
|
"title": "Any extra large pizza for the price of large pizza.",
|
|
695
|
-
"started_on": "2015-
|
|
696
|
-
"expires_on": "
|
|
695
|
+
"started_on": "2015-09-23T00:00:00.000Z",
|
|
696
|
+
"expires_on": "2016-02-20T23:59:59.999Z",
|
|
697
697
|
"logo_url": "https://static-demo.accessdevelopment.com/brand/ffabc5399b1b110ec6038a01dd80771a4f0eeb2e/original.png",
|
|
698
698
|
"national_offer": true,
|
|
699
699
|
"uses_per_period": "unlimited",
|
|
700
700
|
"offer_set": "DISCOUNT",
|
|
701
701
|
"savings_amount": "20%",
|
|
702
|
-
"minimum_purchase": 0.0,
|
|
703
|
-
"maximum_award": 0.0,
|
|
702
|
+
"minimum_purchase": "0.0",
|
|
703
|
+
"maximum_award": "0.0",
|
|
704
704
|
"offer_value": 7,
|
|
705
705
|
"discount_type": "percent",
|
|
706
|
-
"discount_value": 20.0,
|
|
706
|
+
"discount_value": "20.0",
|
|
707
707
|
"promotion_code": false,
|
|
708
708
|
"redemption_methods": [
|
|
709
709
|
"instore_print"
|
|
@@ -754,9 +754,9 @@ http_interactions:
|
|
|
754
754
|
}
|
|
755
755
|
],
|
|
756
756
|
"links": {
|
|
757
|
-
"next_page": "https://report-demo.adcrws.com/v1/members/API_RUBY_GEM_TEST/
|
|
757
|
+
"next_page": "https://report-demo.adcrws.com/v1/members/API_RUBY_GEM_TEST/offer_redemptions?page=2"
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
http_version:
|
|
761
|
-
recorded_at:
|
|
762
|
-
recorded_with: VCR
|
|
761
|
+
recorded_at: Thu, 21 Jan 2016 18:34:34 GMT
|
|
762
|
+
recorded_with: VCR 3.0.0
|