access 2.0.11 → 2.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/access.rb +1 -0
- data/lib/access/api.rb +15 -1
- data/lib/access/redemption.rb +26 -0
- data/lib/access/response.rb +8 -9
- data/lib/access/version.rb +1 -1
- data/test/access/filter_test.rb +2 -0
- data/test/access/offer_test.rb +20 -2
- data/test/access/redeem_test.rb +1 -1
- data/test/access/redemption_test.rb +43 -0
- data/test/access/report_test.rb +77 -30
- data/test/test_helper.rb +5 -3
- data/test/vcr/cassettes/all_usage.yml +92 -0
- data/test/vcr/cassettes/autocomplete_search.yml +83 -0
- data/test/{fixtures → vcr/cassettes}/autocomplete_search_categories.yml +10 -10
- data/test/{fixtures → vcr/cassettes}/autocomplete_search_locations.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/autocomplete_search_offers.yml +10 -10
- data/test/{fixtures → vcr/cassettes}/autocomplete_search_stores.yml +12 -12
- data/test/{fixtures → vcr/cassettes}/category_find.yml +7 -7
- data/test/{fixtures → vcr/cassettes}/category_search.yml +12 -12
- data/test/{fixtures → vcr/cassettes}/category_search_fail_member_key.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/filter_find.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/filter_search.yml +8 -8
- data/test/vcr/cassettes/find_redemption_by_member_key.yml +131 -0
- data/test/{fixtures → vcr/cassettes}/location_find.yml +8 -8
- data/test/{fixtures → vcr/cassettes}/location_search.yml +9 -9
- data/test/{fixtures → vcr/cassettes}/location_search_fail_member_key.yml +5 -5
- data/test/vcr/cassettes/member_location_frequent.yml +70 -0
- data/test/vcr/cassettes/member_location_recent.yml +70 -0
- data/test/vcr/cassettes/member_query_frequent.yml +73 -0
- data/test/vcr/cassettes/member_query_recent.yml +73 -0
- data/test/vcr/cassettes/national_stores.yml +1966 -0
- data/test/{fixtures → vcr/cassettes}/oauth_application_find.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/oauth_application_search.yml +8 -8
- data/test/{fixtures → vcr/cassettes}/oauth_application_token_find.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/oauth_application_token_search.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/offer_find.yml +8 -8
- data/test/{fixtures → vcr/cassettes}/offer_search.yml +9 -9
- data/test/{fixtures → vcr/cassettes}/offer_search_fail_member_key.yml +5 -5
- data/test/vcr/cassettes/offer_with_aggregations.yml +935 -0
- data/test/vcr/cassettes/redeem_offer_no_redeem_type.yml +38 -0
- data/test/vcr/cassettes/redeem_offer_with_redeem_type.yml +38 -0
- data/test/vcr/cassettes/search_redemption_by_member_key.yml +762 -0
- data/test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml +62 -0
- data/test/{fixtures → vcr/cassettes}/store_find.yml +5 -5
- data/test/{fixtures → vcr/cassettes}/store_search.yml +8 -8
- data/test/{fixtures → vcr/cassettes}/store_search_fail_member_key.yml +7 -7
- data/test/{fixtures → vcr/cassettes}/subcategory_find.yml +7 -7
- data/test/vcr/cassettes/token_find.yml +93 -0
- data/test/vcr/cassettes/token_get_first_token.yml +107 -0
- data/test/vcr/cassettes/token_search.yml +107 -0
- data/test/vcr/cassettes/usage.yml +92 -0
- data/test/vcr/cassettes/usage_other.yml +92 -0
- data/test/{fixtures → vcr/cassettes}/verify_filter.yml +17 -24
- data/test/{fixtures → vcr/cassettes}/verify_token.yml +6 -6
- metadata +91 -64
- data/test/fixtures/autocomplete_search.yml +0 -82
- data/test/fixtures/national_stores.yml +0 -1992
- data/test/fixtures/redeem_offer_no_redeem_type.yml +0 -73
- data/test/fixtures/token_find.yml +0 -92
- data/test/fixtures/token_get_first_token.yml +0 -106
- data/test/fixtures/token_search.yml +0 -106
@@ -0,0 +1,92 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://report-demo.adcrws.com/v1/usage
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Access-Token:
|
11
|
+
- ACCESS_TOKEN
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Access-Control-Allow-Headers:
|
22
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
23
|
+
Access-Control-Allow-Methods:
|
24
|
+
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
+
Access-Control-Max-Age:
|
26
|
+
- '1728000'
|
27
|
+
Access-Control-Request-Method:
|
28
|
+
- GET
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Date:
|
34
|
+
- Tue, 06 Oct 2015 22:05:43 GMT
|
35
|
+
Etag:
|
36
|
+
- '"ffc99ea10c1ea34f8f1ccef09278ed1e"'
|
37
|
+
Server:
|
38
|
+
- nginx/1.6.2
|
39
|
+
X-Content-Type-Options:
|
40
|
+
- nosniff
|
41
|
+
X-Frame-Options:
|
42
|
+
- SAMEORIGIN
|
43
|
+
X-Request-Id:
|
44
|
+
- 4364237d-ab42-4ebf-a1a1-cbbbfdc02a60
|
45
|
+
X-Runtime:
|
46
|
+
- '0.203878'
|
47
|
+
X-Xss-Protection:
|
48
|
+
- 1; mode=block
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: |-
|
56
|
+
{
|
57
|
+
"info": {
|
58
|
+
"total_api_calls": 72993,
|
59
|
+
"time_period": "2015-10-01T00:00:00Z to now",
|
60
|
+
"interval": "1d",
|
61
|
+
"report_env": "demo"
|
62
|
+
},
|
63
|
+
"api_calls_over_time": [
|
64
|
+
{
|
65
|
+
"timestamp": "2015-10-01T00:00:00.000",
|
66
|
+
"api_call_count": 12719
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"timestamp": "2015-10-02T00:00:00.000",
|
70
|
+
"api_call_count": 12283
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"timestamp": "2015-10-03T00:00:00.000",
|
74
|
+
"api_call_count": 11832
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"timestamp": "2015-10-04T00:00:00.000",
|
78
|
+
"api_call_count": 11867
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"timestamp": "2015-10-05T00:00:00.000",
|
82
|
+
"api_call_count": 12269
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"timestamp": "2015-10-06T00:00:00.000",
|
86
|
+
"api_call_count": 12023
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
90
|
+
http_version:
|
91
|
+
recorded_at: Tue, 06 Oct 2015 22:05:43 GMT
|
92
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,92 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://report-demo.adcrws.com/v1/usage/ACCESS_TOKEN
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Access-Token:
|
11
|
+
- ACCESS_TOKEN
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Access-Control-Allow-Headers:
|
22
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
23
|
+
Access-Control-Allow-Methods:
|
24
|
+
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
+
Access-Control-Max-Age:
|
26
|
+
- '1728000'
|
27
|
+
Access-Control-Request-Method:
|
28
|
+
- GET
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Date:
|
34
|
+
- Tue, 06 Oct 2015 22:05:42 GMT
|
35
|
+
Etag:
|
36
|
+
- '"abd6e559f2aa18deb9266c4f09bd9a88"'
|
37
|
+
Server:
|
38
|
+
- nginx/1.6.2
|
39
|
+
X-Content-Type-Options:
|
40
|
+
- nosniff
|
41
|
+
X-Frame-Options:
|
42
|
+
- SAMEORIGIN
|
43
|
+
X-Request-Id:
|
44
|
+
- 3314c251-ab91-4109-a4a4-592cac9e406d
|
45
|
+
X-Runtime:
|
46
|
+
- '0.194631'
|
47
|
+
X-Xss-Protection:
|
48
|
+
- 1; mode=block
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: |-
|
56
|
+
{
|
57
|
+
"info": {
|
58
|
+
"total_api_calls": 73005,
|
59
|
+
"time_period": "2015-10-01T00:00:00Z to now",
|
60
|
+
"interval": "1d",
|
61
|
+
"report_env": "demo"
|
62
|
+
},
|
63
|
+
"api_calls_over_time": [
|
64
|
+
{
|
65
|
+
"timestamp": "2015-10-01T00:00:00.000",
|
66
|
+
"api_call_count": 12719
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"timestamp": "2015-10-02T00:00:00.000",
|
70
|
+
"api_call_count": 12283
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"timestamp": "2015-10-03T00:00:00.000",
|
74
|
+
"api_call_count": 11832
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"timestamp": "2015-10-04T00:00:00.000",
|
78
|
+
"api_call_count": 11867
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"timestamp": "2015-10-05T00:00:00.000",
|
82
|
+
"api_call_count": 12269
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"timestamp": "2015-10-06T00:00:00.000",
|
86
|
+
"api_call_count": 12035
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
90
|
+
http_version:
|
91
|
+
recorded_at: Tue, 06 Oct 2015 22:05:42 GMT
|
92
|
+
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
] } }'
|
13
13
|
headers:
|
14
14
|
Access-Token:
|
15
|
-
-
|
15
|
+
- ACCESS_TOKEN
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Accept:
|
@@ -35,9 +35,9 @@ http_interactions:
|
|
35
35
|
Content-Type:
|
36
36
|
- application/json
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Tue, 06 Oct 2015 20:04:58 GMT
|
39
39
|
Etag:
|
40
|
-
- '"
|
40
|
+
- '"7c02e562d706f9fd91b1256d1812d421"'
|
41
41
|
Server:
|
42
42
|
- nginx/1.6.2
|
43
43
|
X-Content-Type-Options:
|
@@ -45,13 +45,13 @@ http_interactions:
|
|
45
45
|
X-Frame-Options:
|
46
46
|
- SAMEORIGIN
|
47
47
|
X-Request-Id:
|
48
|
-
-
|
48
|
+
- 86a53293-c038-4a74-aac5-61dba2a6fc0a
|
49
49
|
X-Runtime:
|
50
|
-
- '0.
|
50
|
+
- '0.086558'
|
51
51
|
X-Xss-Protection:
|
52
52
|
- 1; mode=block
|
53
53
|
Content-Length:
|
54
|
-
- '
|
54
|
+
- '5776'
|
55
55
|
Connection:
|
56
56
|
- keep-alive
|
57
57
|
body:
|
@@ -59,34 +59,34 @@ http_interactions:
|
|
59
59
|
string: |-
|
60
60
|
{
|
61
61
|
"offers": {
|
62
|
-
"offer_count":
|
62
|
+
"offer_count": 74269,
|
63
63
|
"categories": [
|
64
64
|
{
|
65
65
|
"category_name": "Dining & Food",
|
66
66
|
"category_key": 39,
|
67
67
|
"category_type": "category",
|
68
|
-
"offer_count":
|
68
|
+
"offer_count": 74269,
|
69
69
|
"subcategories": [
|
70
70
|
{
|
71
71
|
"category_name": "Fast Food",
|
72
72
|
"category_key": 1008,
|
73
73
|
"category_type": "subcategory",
|
74
74
|
"category_parent_key": 39,
|
75
|
-
"offer_count":
|
75
|
+
"offer_count": 39086
|
76
76
|
},
|
77
77
|
{
|
78
78
|
"category_name": "Casual & Fine Dining",
|
79
79
|
"category_key": 1009,
|
80
80
|
"category_type": "subcategory",
|
81
81
|
"category_parent_key": 39,
|
82
|
-
"offer_count":
|
82
|
+
"offer_count": 33184
|
83
83
|
},
|
84
84
|
{
|
85
85
|
"category_name": "Convenience Stores",
|
86
86
|
"category_key": 1012,
|
87
87
|
"category_type": "subcategory",
|
88
88
|
"category_parent_key": 39,
|
89
|
-
"offer_count":
|
89
|
+
"offer_count": 1955
|
90
90
|
},
|
91
91
|
{
|
92
92
|
"category_name": "Specialty Foods & Gifts",
|
@@ -173,7 +173,7 @@ http_interactions:
|
|
173
173
|
"category_name": "Automotive",
|
174
174
|
"category_key": 51,
|
175
175
|
"category_type": "category",
|
176
|
-
"offer_count":
|
176
|
+
"offer_count": 11,
|
177
177
|
"subcategories": [
|
178
178
|
{
|
179
179
|
"category_name": "Gas Station",
|
@@ -181,13 +181,6 @@ http_interactions:
|
|
181
181
|
"category_type": "subcategory",
|
182
182
|
"category_parent_key": 51,
|
183
183
|
"offer_count": 11
|
184
|
-
},
|
185
|
-
{
|
186
|
-
"category_name": "Auto Body & Paint",
|
187
|
-
"category_key": 1000,
|
188
|
-
"category_type": "subcategory",
|
189
|
-
"category_parent_key": 51,
|
190
|
-
"offer_count": 1
|
191
184
|
}
|
192
185
|
]
|
193
186
|
},
|
@@ -257,11 +250,11 @@ http_interactions:
|
|
257
250
|
"redemption_methods": [
|
258
251
|
{
|
259
252
|
"redemption_method": "instore_print",
|
260
|
-
"offer_count":
|
253
|
+
"offer_count": 53656
|
261
254
|
},
|
262
255
|
{
|
263
256
|
"redemption_method": "instore",
|
264
|
-
"offer_count":
|
257
|
+
"offer_count": 28672
|
265
258
|
},
|
266
259
|
{
|
267
260
|
"redemption_method": "link",
|
@@ -277,12 +270,12 @@ http_interactions:
|
|
277
270
|
"category_count": 127
|
278
271
|
},
|
279
272
|
"stores": {
|
280
|
-
"store_count":
|
273
|
+
"store_count": 25907
|
281
274
|
},
|
282
275
|
"locations": {
|
283
|
-
"location_count":
|
276
|
+
"location_count": 203975
|
284
277
|
}
|
285
278
|
}
|
286
279
|
http_version:
|
287
|
-
recorded_at:
|
280
|
+
recorded_at: Tue, 06 Oct 2015 20:04:58 GMT
|
288
281
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Access-Token:
|
11
|
-
-
|
11
|
+
- ACCESS_TOKEN
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accept:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json
|
33
33
|
Date:
|
34
|
-
-
|
34
|
+
- Tue, 06 Oct 2015 20:04:58 GMT
|
35
35
|
Etag:
|
36
36
|
- '"2fc05acea937ac2f91f371775a92a64f"'
|
37
37
|
Server:
|
@@ -41,9 +41,9 @@ http_interactions:
|
|
41
41
|
X-Frame-Options:
|
42
42
|
- SAMEORIGIN
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
44
|
+
- 1211a14c-f954-48ed-b814-fffab1925bce
|
45
45
|
X-Runtime:
|
46
|
-
- '0.
|
46
|
+
- '0.009676'
|
47
47
|
X-Xss-Protection:
|
48
48
|
- 1; mode=block
|
49
49
|
Content-Length:
|
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
string: |-
|
56
56
|
{
|
57
57
|
"oauth_access_token": {
|
58
|
-
"token": "
|
58
|
+
"token": "ACCESS_TOKEN",
|
59
59
|
"domains": [
|
60
60
|
|
61
61
|
],
|
@@ -72,5 +72,5 @@ http_interactions:
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
http_version:
|
75
|
-
recorded_at:
|
75
|
+
recorded_at: Tue, 06 Oct 2015 20:04:58 GMT
|
76
76
|
recorded_with: VCR 2.9.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: access
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Eggett
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -235,6 +235,7 @@ files:
|
|
235
235
|
- lib/access/oauth_application.rb
|
236
236
|
- lib/access/offer.rb
|
237
237
|
- lib/access/redeem.rb
|
238
|
+
- lib/access/redemption.rb
|
238
239
|
- lib/access/report.rb
|
239
240
|
- lib/access/request.rb
|
240
241
|
- lib/access/response.rb
|
@@ -252,43 +253,56 @@ files:
|
|
252
253
|
- test/access/oauth_application_test.rb
|
253
254
|
- test/access/offer_test.rb
|
254
255
|
- test/access/redeem_test.rb
|
256
|
+
- test/access/redemption_test.rb
|
255
257
|
- test/access/report_test.rb
|
256
258
|
- test/access/store_test.rb
|
257
259
|
- test/access/token_test.rb
|
258
260
|
- test/access/verify_test.rb
|
259
261
|
- test/access/version_test.rb
|
260
|
-
- test/fixtures/autocomplete_search.yml
|
261
|
-
- test/fixtures/autocomplete_search_categories.yml
|
262
|
-
- test/fixtures/autocomplete_search_locations.yml
|
263
|
-
- test/fixtures/autocomplete_search_offers.yml
|
264
|
-
- test/fixtures/autocomplete_search_stores.yml
|
265
|
-
- test/fixtures/category_find.yml
|
266
|
-
- test/fixtures/category_search.yml
|
267
|
-
- test/fixtures/category_search_fail_member_key.yml
|
268
|
-
- test/fixtures/filter_find.yml
|
269
|
-
- test/fixtures/filter_search.yml
|
270
|
-
- test/fixtures/location_find.yml
|
271
|
-
- test/fixtures/location_search.yml
|
272
|
-
- test/fixtures/location_search_fail_member_key.yml
|
273
|
-
- test/fixtures/national_stores.yml
|
274
|
-
- test/fixtures/oauth_application_find.yml
|
275
|
-
- test/fixtures/oauth_application_search.yml
|
276
|
-
- test/fixtures/oauth_application_token_find.yml
|
277
|
-
- test/fixtures/oauth_application_token_search.yml
|
278
|
-
- test/fixtures/offer_find.yml
|
279
|
-
- test/fixtures/offer_search.yml
|
280
|
-
- test/fixtures/offer_search_fail_member_key.yml
|
281
|
-
- test/fixtures/redeem_offer_no_redeem_type.yml
|
282
|
-
- test/fixtures/store_find.yml
|
283
|
-
- test/fixtures/store_search.yml
|
284
|
-
- test/fixtures/store_search_fail_member_key.yml
|
285
|
-
- test/fixtures/subcategory_find.yml
|
286
|
-
- test/fixtures/token_find.yml
|
287
|
-
- test/fixtures/token_get_first_token.yml
|
288
|
-
- test/fixtures/token_search.yml
|
289
|
-
- test/fixtures/verify_filter.yml
|
290
|
-
- test/fixtures/verify_token.yml
|
291
262
|
- test/test_helper.rb
|
263
|
+
- test/vcr/cassettes/all_usage.yml
|
264
|
+
- test/vcr/cassettes/autocomplete_search.yml
|
265
|
+
- test/vcr/cassettes/autocomplete_search_categories.yml
|
266
|
+
- test/vcr/cassettes/autocomplete_search_locations.yml
|
267
|
+
- test/vcr/cassettes/autocomplete_search_offers.yml
|
268
|
+
- test/vcr/cassettes/autocomplete_search_stores.yml
|
269
|
+
- test/vcr/cassettes/category_find.yml
|
270
|
+
- test/vcr/cassettes/category_search.yml
|
271
|
+
- test/vcr/cassettes/category_search_fail_member_key.yml
|
272
|
+
- test/vcr/cassettes/filter_find.yml
|
273
|
+
- test/vcr/cassettes/filter_search.yml
|
274
|
+
- test/vcr/cassettes/find_redemption_by_member_key.yml
|
275
|
+
- test/vcr/cassettes/location_find.yml
|
276
|
+
- test/vcr/cassettes/location_search.yml
|
277
|
+
- test/vcr/cassettes/location_search_fail_member_key.yml
|
278
|
+
- test/vcr/cassettes/member_location_frequent.yml
|
279
|
+
- test/vcr/cassettes/member_location_recent.yml
|
280
|
+
- test/vcr/cassettes/member_query_frequent.yml
|
281
|
+
- test/vcr/cassettes/member_query_recent.yml
|
282
|
+
- test/vcr/cassettes/national_stores.yml
|
283
|
+
- test/vcr/cassettes/oauth_application_find.yml
|
284
|
+
- test/vcr/cassettes/oauth_application_search.yml
|
285
|
+
- test/vcr/cassettes/oauth_application_token_find.yml
|
286
|
+
- test/vcr/cassettes/oauth_application_token_search.yml
|
287
|
+
- test/vcr/cassettes/offer_find.yml
|
288
|
+
- test/vcr/cassettes/offer_search.yml
|
289
|
+
- test/vcr/cassettes/offer_search_fail_member_key.yml
|
290
|
+
- test/vcr/cassettes/offer_with_aggregations.yml
|
291
|
+
- test/vcr/cassettes/redeem_offer_no_redeem_type.yml
|
292
|
+
- test/vcr/cassettes/redeem_offer_with_redeem_type.yml
|
293
|
+
- test/vcr/cassettes/search_redemption_by_member_key.yml
|
294
|
+
- test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml
|
295
|
+
- test/vcr/cassettes/store_find.yml
|
296
|
+
- test/vcr/cassettes/store_search.yml
|
297
|
+
- test/vcr/cassettes/store_search_fail_member_key.yml
|
298
|
+
- test/vcr/cassettes/subcategory_find.yml
|
299
|
+
- test/vcr/cassettes/token_find.yml
|
300
|
+
- test/vcr/cassettes/token_get_first_token.yml
|
301
|
+
- test/vcr/cassettes/token_search.yml
|
302
|
+
- test/vcr/cassettes/usage.yml
|
303
|
+
- test/vcr/cassettes/usage_other.yml
|
304
|
+
- test/vcr/cassettes/verify_filter.yml
|
305
|
+
- test/vcr/cassettes/verify_token.yml
|
292
306
|
homepage: http://www.github.com/access-development/api-ruby
|
293
307
|
licenses:
|
294
308
|
- MIT
|
@@ -323,40 +337,53 @@ test_files:
|
|
323
337
|
- test/access/oauth_application_test.rb
|
324
338
|
- test/access/offer_test.rb
|
325
339
|
- test/access/redeem_test.rb
|
340
|
+
- test/access/redemption_test.rb
|
326
341
|
- test/access/report_test.rb
|
327
342
|
- test/access/store_test.rb
|
328
343
|
- test/access/token_test.rb
|
329
344
|
- test/access/verify_test.rb
|
330
345
|
- test/access/version_test.rb
|
331
|
-
- test/fixtures/autocomplete_search.yml
|
332
|
-
- test/fixtures/autocomplete_search_categories.yml
|
333
|
-
- test/fixtures/autocomplete_search_locations.yml
|
334
|
-
- test/fixtures/autocomplete_search_offers.yml
|
335
|
-
- test/fixtures/autocomplete_search_stores.yml
|
336
|
-
- test/fixtures/category_find.yml
|
337
|
-
- test/fixtures/category_search.yml
|
338
|
-
- test/fixtures/category_search_fail_member_key.yml
|
339
|
-
- test/fixtures/filter_find.yml
|
340
|
-
- test/fixtures/filter_search.yml
|
341
|
-
- test/fixtures/location_find.yml
|
342
|
-
- test/fixtures/location_search.yml
|
343
|
-
- test/fixtures/location_search_fail_member_key.yml
|
344
|
-
- test/fixtures/national_stores.yml
|
345
|
-
- test/fixtures/oauth_application_find.yml
|
346
|
-
- test/fixtures/oauth_application_search.yml
|
347
|
-
- test/fixtures/oauth_application_token_find.yml
|
348
|
-
- test/fixtures/oauth_application_token_search.yml
|
349
|
-
- test/fixtures/offer_find.yml
|
350
|
-
- test/fixtures/offer_search.yml
|
351
|
-
- test/fixtures/offer_search_fail_member_key.yml
|
352
|
-
- test/fixtures/redeem_offer_no_redeem_type.yml
|
353
|
-
- test/fixtures/store_find.yml
|
354
|
-
- test/fixtures/store_search.yml
|
355
|
-
- test/fixtures/store_search_fail_member_key.yml
|
356
|
-
- test/fixtures/subcategory_find.yml
|
357
|
-
- test/fixtures/token_find.yml
|
358
|
-
- test/fixtures/token_get_first_token.yml
|
359
|
-
- test/fixtures/token_search.yml
|
360
|
-
- test/fixtures/verify_filter.yml
|
361
|
-
- test/fixtures/verify_token.yml
|
362
346
|
- test/test_helper.rb
|
347
|
+
- test/vcr/cassettes/all_usage.yml
|
348
|
+
- test/vcr/cassettes/autocomplete_search.yml
|
349
|
+
- test/vcr/cassettes/autocomplete_search_categories.yml
|
350
|
+
- test/vcr/cassettes/autocomplete_search_locations.yml
|
351
|
+
- test/vcr/cassettes/autocomplete_search_offers.yml
|
352
|
+
- test/vcr/cassettes/autocomplete_search_stores.yml
|
353
|
+
- test/vcr/cassettes/category_find.yml
|
354
|
+
- test/vcr/cassettes/category_search.yml
|
355
|
+
- test/vcr/cassettes/category_search_fail_member_key.yml
|
356
|
+
- test/vcr/cassettes/filter_find.yml
|
357
|
+
- test/vcr/cassettes/filter_search.yml
|
358
|
+
- test/vcr/cassettes/find_redemption_by_member_key.yml
|
359
|
+
- test/vcr/cassettes/location_find.yml
|
360
|
+
- test/vcr/cassettes/location_search.yml
|
361
|
+
- test/vcr/cassettes/location_search_fail_member_key.yml
|
362
|
+
- test/vcr/cassettes/member_location_frequent.yml
|
363
|
+
- test/vcr/cassettes/member_location_recent.yml
|
364
|
+
- test/vcr/cassettes/member_query_frequent.yml
|
365
|
+
- test/vcr/cassettes/member_query_recent.yml
|
366
|
+
- test/vcr/cassettes/national_stores.yml
|
367
|
+
- test/vcr/cassettes/oauth_application_find.yml
|
368
|
+
- test/vcr/cassettes/oauth_application_search.yml
|
369
|
+
- test/vcr/cassettes/oauth_application_token_find.yml
|
370
|
+
- test/vcr/cassettes/oauth_application_token_search.yml
|
371
|
+
- test/vcr/cassettes/offer_find.yml
|
372
|
+
- test/vcr/cassettes/offer_search.yml
|
373
|
+
- test/vcr/cassettes/offer_search_fail_member_key.yml
|
374
|
+
- test/vcr/cassettes/offer_with_aggregations.yml
|
375
|
+
- test/vcr/cassettes/redeem_offer_no_redeem_type.yml
|
376
|
+
- test/vcr/cassettes/redeem_offer_with_redeem_type.yml
|
377
|
+
- test/vcr/cassettes/search_redemption_by_member_key.yml
|
378
|
+
- test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml
|
379
|
+
- test/vcr/cassettes/store_find.yml
|
380
|
+
- test/vcr/cassettes/store_search.yml
|
381
|
+
- test/vcr/cassettes/store_search_fail_member_key.yml
|
382
|
+
- test/vcr/cassettes/subcategory_find.yml
|
383
|
+
- test/vcr/cassettes/token_find.yml
|
384
|
+
- test/vcr/cassettes/token_get_first_token.yml
|
385
|
+
- test/vcr/cassettes/token_search.yml
|
386
|
+
- test/vcr/cassettes/usage.yml
|
387
|
+
- test/vcr/cassettes/usage_other.yml
|
388
|
+
- test/vcr/cassettes/verify_filter.yml
|
389
|
+
- test/vcr/cassettes/verify_token.yml
|