access 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/access/api.rb +1 -1
  3. data/lib/access/version.rb +1 -1
  4. data/test/access/token_test.rb +1 -1
  5. data/test/fixtures/autocomplete_search.yml +25 -29
  6. data/test/fixtures/autocomplete_search_categories.yml +5 -9
  7. data/test/fixtures/autocomplete_search_locations.yml +5 -9
  8. data/test/fixtures/autocomplete_search_offers.yml +5 -9
  9. data/test/fixtures/autocomplete_search_stores.yml +12 -16
  10. data/test/fixtures/category_find.yml +5 -9
  11. data/test/fixtures/category_search.yml +10 -18
  12. data/test/fixtures/category_search_fail_member_key.yml +5 -9
  13. data/test/fixtures/filter_find.yml +7 -11
  14. data/test/fixtures/filter_search.yml +5 -9
  15. data/test/fixtures/location_find.yml +5 -9
  16. data/test/fixtures/location_search.yml +5 -9
  17. data/test/fixtures/location_search_fail_member_key.yml +5 -9
  18. data/test/fixtures/national_stores.yml +5 -9
  19. data/test/fixtures/oauth_application_find.yml +5 -9
  20. data/test/fixtures/oauth_application_search.yml +5 -9
  21. data/test/fixtures/oauth_application_token_find.yml +5 -9
  22. data/test/fixtures/oauth_application_token_search.yml +5 -9
  23. data/test/fixtures/offer_find.yml +5 -9
  24. data/test/fixtures/offer_search.yml +5 -9
  25. data/test/fixtures/offer_search_fail_member_key.yml +5 -9
  26. data/test/fixtures/redeem_offer_no_redeem_type.yml +8 -8
  27. data/test/fixtures/store_find.yml +5 -9
  28. data/test/fixtures/store_search.yml +5 -9
  29. data/test/fixtures/store_search_fail_member_key.yml +7 -11
  30. data/test/fixtures/subcategory_find.yml +5 -9
  31. data/test/fixtures/token_find.yml +14 -17
  32. data/test/fixtures/token_get_first_token.yml +106 -0
  33. data/test/fixtures/token_search.yml +16 -19
  34. data/test/fixtures/verify_filter.yml +5 -9
  35. data/test/fixtures/verify_token.yml +9 -13
  36. metadata +4 -2
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:53:55 GMT
34
+ - Wed, 16 Sep 2015 20:14:04 GMT
35
35
  Etag:
36
36
  - '"98daf27bcc5b2a794284ddcf788d8ad3"'
37
37
  Server:
@@ -40,18 +40,14 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '992'
47
43
  X-Request-Id:
48
- - d6f32758-c413-4afa-a2f0-ad3387052887
44
+ - f0846b36-7c68-4042-bf28-c7637cda538b
49
45
  X-Runtime:
50
- - '0.038291'
46
+ - '0.040470'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
- Transfer-Encoding:
54
- - chunked
49
+ Content-Length:
50
+ - '3057'
55
51
  Connection:
56
52
  - keep-alive
57
53
  body:
@@ -68,5 +64,5 @@ http_interactions:
68
64
  ]
69
65
  }
70
66
  http_version:
71
- recorded_at: Wed, 16 Sep 2015 19:53:55 GMT
67
+ recorded_at: Wed, 16 Sep 2015 20:14:04 GMT
72
68
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:53:55 GMT
34
+ - Wed, 16 Sep 2015 20:14:05 GMT
35
35
  Etag:
36
36
  - '"b43b1cb8a99286c15658bf62d4036132"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '993'
47
43
  X-Request-Id:
48
- - bc2301e5-ac16-44dd-a07d-00cba93df9e0
44
+ - 6a1af999-2f8e-43f4-8605-8ad132755370
49
45
  X-Runtime:
50
- - '0.040998'
46
+ - '0.039306'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -77,5 +73,5 @@ http_interactions:
77
73
  }
78
74
  }
79
75
  http_version:
80
- recorded_at: Wed, 16 Sep 2015 19:53:55 GMT
76
+ recorded_at: Wed, 16 Sep 2015 20:14:05 GMT
81
77
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:54:03 GMT
34
+ - Wed, 16 Sep 2015 20:14:13 GMT
35
35
  Etag:
36
36
  - '"db23c50adbac36d8e8f5c5969323d82c"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '971'
47
43
  X-Request-Id:
48
- - 0a16a6c2-d25d-49dd-9456-951ca5fbb334
44
+ - 692f27fb-3be0-461c-b552-4357e35ec8fe
49
45
  X-Runtime:
50
- - '0.038009'
46
+ - '0.051639'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -484,5 +480,5 @@ http_interactions:
484
480
  Y2F0aW9ucz9tZW1iZXJfa2V5PUFQSV9SVUJZX0dFTV9URVNUJnBhZ2U9MiIK
485
481
  ICB9Cn0=
486
482
  http_version:
487
- recorded_at: Wed, 16 Sep 2015 19:54:03 GMT
483
+ recorded_at: Wed, 16 Sep 2015 20:14:13 GMT
488
484
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:54:02 GMT
34
+ - Wed, 16 Sep 2015 20:14:12 GMT
35
35
  Etag:
36
36
  - '"25484f07290d501b56282d8db166071e"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '972'
47
43
  X-Request-Id:
48
- - d63dd54f-3473-426d-86b0-bc46377e9eed
44
+ - 363f3f18-be72-46b4-aef3-0a2611a3cd59
49
45
  X-Runtime:
50
- - '0.031974'
46
+ - '0.037272'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -114,5 +110,5 @@ http_interactions:
114
110
  cndzLmNvbS92MS9sb2NhdGlvbnM/bWVtYmVyX2tleT1BUElfUlVCWV9HRU1f
115
111
  VEVTVCZwYWdlPTImcGVyX3BhZ2U9MSIKICB9Cn0=
116
112
  http_version:
117
- recorded_at: Wed, 16 Sep 2015 19:54:02 GMT
113
+ recorded_at: Wed, 16 Sep 2015 20:14:12 GMT
118
114
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept:
@@ -31,21 +31,17 @@ http_interactions:
31
31
  Content-Type:
32
32
  - application/json
33
33
  Date:
34
- - Wed, 16 Sep 2015 19:54:03 GMT
34
+ - Wed, 16 Sep 2015 20:14:12 GMT
35
35
  Server:
36
36
  - nginx/1.6.2
37
37
  X-Content-Type-Options:
38
38
  - nosniff
39
39
  X-Frame-Options:
40
40
  - SAMEORIGIN
41
- X-Ratelimit-Limit:
42
- - '1000'
43
- X-Ratelimit-Remaining:
44
- - '970'
45
41
  X-Request-Id:
46
- - ec39101c-c4e6-4397-930b-0d31bdd13e0a
42
+ - 36900b76-667b-432b-8187-ae5e9d94bbff
47
43
  X-Runtime:
48
- - '0.010384'
44
+ - '0.009224'
49
45
  X-Xss-Protection:
50
46
  - 1; mode=block
51
47
  Content-Length:
@@ -60,5 +56,5 @@ http_interactions:
60
56
  "status": 401
61
57
  }
62
58
  http_version:
63
- recorded_at: Wed, 16 Sep 2015 19:54:03 GMT
59
+ recorded_at: Wed, 16 Sep 2015 20:14:12 GMT
64
60
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:54:01 GMT
34
+ - Wed, 16 Sep 2015 20:14:01 GMT
35
35
  Etag:
36
36
  - '"5ae7a0ce17ca767d89e41eb28c7ab5ee"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '974'
47
43
  X-Request-Id:
48
- - 25425757-89c8-451d-a306-6a418837e6e5
44
+ - 372ebe30-d0b9-4a42-a250-7dea8ecd7297
49
45
  X-Runtime:
50
- - '0.236647'
46
+ - '0.204672'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Transfer-Encoding:
@@ -1992,5 +1988,5 @@ http_interactions:
1992
1988
  ZDc5YjM2Y2Q5OWI5MzIxYWQ0OGE3ZDMyZGVlYzc3ZC9vcmlnaW5hbC5wbmci
1993
1989
  CiAgICB9CiAgXQp9
1994
1990
  http_version:
1995
- recorded_at: Wed, 16 Sep 2015 19:54:02 GMT
1991
+ recorded_at: Wed, 16 Sep 2015 20:14:01 GMT
1996
1992
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:53:56 GMT
34
+ - Wed, 16 Sep 2015 20:14:10 GMT
35
35
  Etag:
36
36
  - '"a6b45fc13ff04948fb90164dd38b7ee4"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '990'
47
43
  X-Request-Id:
48
- - 7eb14344-ee16-4fad-bdb3-38a6eb0d17c5
44
+ - 12cc70c0-bc7f-4af4-b252-6a1eaf3bcf20
49
45
  X-Runtime:
50
- - '0.039285'
46
+ - '0.046701'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -81,5 +77,5 @@ http_interactions:
81
77
  ]
82
78
  }
83
79
  http_version:
84
- recorded_at: Wed, 16 Sep 2015 19:53:56 GMT
80
+ recorded_at: Wed, 16 Sep 2015 20:14:10 GMT
85
81
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:53:58 GMT
34
+ - Wed, 16 Sep 2015 20:14:11 GMT
35
35
  Etag:
36
36
  - '"49e22394112ea925e81da26dd2ec0def"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '986'
47
43
  X-Request-Id:
48
- - d4df9c1c-5614-4fd2-ac10-c747a604228e
44
+ - c9b158bd-fc2e-49ce-9bf3-a903b8f5a134
49
45
  X-Runtime:
50
- - '0.042679'
46
+ - '0.060948'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -92,5 +88,5 @@ http_interactions:
92
88
  }
93
89
  }
94
90
  http_version:
95
- recorded_at: Wed, 16 Sep 2015 19:53:58 GMT
91
+ recorded_at: Wed, 16 Sep 2015 20:14:11 GMT
96
92
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:53:58 GMT
34
+ - Wed, 16 Sep 2015 20:14:11 GMT
35
35
  Etag:
36
36
  - '"ec970e995d044f34d7f17f46f152706e"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '984'
47
43
  X-Request-Id:
48
- - e2bdd78a-3863-4f29-a09f-4190976b3bd0
44
+ - d3812cf5-8bcc-47d2-86c1-6c9d19a4e54c
49
45
  X-Runtime:
50
- - '0.047566'
46
+ - '0.048039'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -93,5 +89,5 @@ http_interactions:
93
89
  ]
94
90
  }
95
91
  http_version:
96
- recorded_at: Wed, 16 Sep 2015 19:53:58 GMT
92
+ recorded_at: Wed, 16 Sep 2015 20:14:11 GMT
97
93
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:53:58 GMT
34
+ - Wed, 16 Sep 2015 20:14:11 GMT
35
35
  Etag:
36
36
  - '"0fb387c8aa3518c772103baf04d09005"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '985'
47
43
  X-Request-Id:
48
- - cae6b4fb-b408-4fda-8149-2d5d6dd3cbc4
44
+ - 798343ea-f7bc-4749-8bd8-e98abe9a179c
49
45
  X-Runtime:
50
- - '0.047262'
46
+ - '0.046609'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -96,5 +92,5 @@ http_interactions:
96
92
  ]
97
93
  }
98
94
  http_version:
99
- recorded_at: Wed, 16 Sep 2015 19:53:58 GMT
95
+ recorded_at: Wed, 16 Sep 2015 20:14:11 GMT
100
96
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - token_without_filters
11
+ - token_without_limit
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
- - Wed, 16 Sep 2015 19:54:00 GMT
34
+ - Wed, 16 Sep 2015 20:14:03 GMT
35
35
  Etag:
36
36
  - '"bb89a0b18b8378569628e3b652cde843"'
37
37
  Server:
@@ -40,14 +40,10 @@ http_interactions:
40
40
  - nosniff
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
- X-Ratelimit-Limit:
44
- - '1000'
45
- X-Ratelimit-Remaining:
46
- - '980'
47
43
  X-Request-Id:
48
- - dcce1622-9ee1-4f2f-a409-4fae9ce11c98
44
+ - b8a76a53-b998-4f97-b587-ff4d39fd7d85
49
45
  X-Runtime:
50
- - '0.026274'
46
+ - '0.027529'
51
47
  X-Xss-Protection:
52
48
  - 1; mode=block
53
49
  Content-Length:
@@ -140,5 +136,5 @@ http_interactions:
140
136
  Y29tL3YxL2xvY2F0aW9ucz9zdG9yZV9rZXk9MTg5Mzg0OTgiCiAgICAgIH0K
141
137
  ICAgIH0KICBdCn0=
142
138
  http_version:
143
- recorded_at: Wed, 16 Sep 2015 19:54:00 GMT
139
+ recorded_at: Wed, 16 Sep 2015 20:14:03 GMT
144
140
  recorded_with: VCR 2.9.3