access 2.2.0 → 2.3.0.pre.rc1

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.
Files changed (116) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +6 -4
  5. data/Gemfile.lock +40 -80
  6. data/README.md +2 -4
  7. data/Rakefile +1 -1
  8. data/access.gemspec +4 -6
  9. data/lib/access/response.rb +1 -1
  10. data/lib/access/version.rb +1 -1
  11. data/test/access/campaign_test.rb +3 -3
  12. data/test/access/category_test.rb +1 -0
  13. data/test/access/device_test.rb +1 -4
  14. data/test/access/member_test.rb +2 -5
  15. data/test/access/redeem_test.rb +1 -0
  16. data/test/access/report_test.rb +14 -7
  17. data/test/access/spot_test.rb +4 -4
  18. data/test/access/user_test.rb +9 -10
  19. data/test/access/verify_test.rb +1 -1
  20. data/test/vcr/cassettes/autocomplete/search_categories.yml +11 -9
  21. data/test/vcr/cassettes/autocomplete/search_first.yml +21 -19
  22. data/test/vcr/cassettes/autocomplete/search_locations.yml +13 -11
  23. data/test/vcr/cassettes/autocomplete/search_offers.yml +15 -13
  24. data/test/vcr/cassettes/autocomplete/search_stores.yml +17 -15
  25. data/test/vcr/cassettes/campaign/find.yml +139 -0
  26. data/test/vcr/cassettes/campaign/search.yml +89 -971
  27. data/test/vcr/cassettes/campaign/search_first.yml +139 -0
  28. data/test/vcr/cassettes/category/find.yml +11 -9
  29. data/test/vcr/cassettes/category/search.yml +14 -35
  30. data/test/vcr/cassettes/category/search_fail_member_key.yml +11 -9
  31. data/test/vcr/cassettes/category/search_first.yml +27 -69
  32. data/test/vcr/cassettes/category/subcategory_find.yml +12 -118
  33. data/test/vcr/cassettes/channel/search.yml +26 -18
  34. data/test/vcr/cassettes/favorite/create_generic_with_offer.yml +95 -93
  35. data/test/vcr/cassettes/favorite/create_location.yml +63 -17
  36. data/test/vcr/cassettes/favorite/create_offer.yml +95 -93
  37. data/test/vcr/cassettes/favorite/create_store.yml +59 -59
  38. data/test/vcr/cassettes/favorite/delete_generic_with_offer.yml +110 -108
  39. data/test/vcr/cassettes/favorite/delete_location.yml +139 -93
  40. data/test/vcr/cassettes/favorite/delete_offer.yml +204 -200
  41. data/test/vcr/cassettes/favorite/delete_store.yml +117 -143
  42. data/test/vcr/cassettes/favorite/find_generic_with_offer.yml +180 -242
  43. data/test/vcr/cassettes/favorite/find_location.yml +124 -78
  44. data/test/vcr/cassettes/favorite/find_offer.yml +180 -242
  45. data/test/vcr/cassettes/favorite/find_store.yml +103 -129
  46. data/test/vcr/cassettes/favorite/one_of_everything.yml +323 -1031
  47. data/test/vcr/cassettes/favorite/search.yml +269 -281
  48. data/test/vcr/cassettes/favorite/search_bad_member.yml +9 -11
  49. data/test/vcr/cassettes/favorite/search_locations.yml +103 -62
  50. data/test/vcr/cassettes/favorite/search_no_favorites.yml +9 -11
  51. data/test/vcr/cassettes/favorite/search_offers.yml +148 -148
  52. data/test/vcr/cassettes/favorite/search_stores.yml +70 -127
  53. data/test/vcr/cassettes/filter/find.yml +11 -9
  54. data/test/vcr/cassettes/filter/search.yml +14 -12
  55. data/test/vcr/cassettes/filter/search_first.yml +14 -12
  56. data/test/vcr/cassettes/location/find.yml +562 -634
  57. data/test/vcr/cassettes/location/search.yml +82 -77
  58. data/test/vcr/cassettes/location/search_fail_member_key.yml +11 -9
  59. data/test/vcr/cassettes/location/search_first.yml +82 -77
  60. data/test/vcr/cassettes/member/show_failure.yml +14 -14
  61. data/test/vcr/cassettes/member/show_success.yml +16 -16
  62. data/test/vcr/cassettes/member/update_success.yml +16 -16
  63. data/test/vcr/cassettes/member_authenticate/cvt_failure.yml +13 -13
  64. data/test/vcr/cassettes/member_authenticate/cvt_success.yml +16 -16
  65. data/test/vcr/cassettes/member_authenticate/failure.yml +54 -9
  66. data/test/vcr/cassettes/member_authenticate/member_key_failure.yml +13 -13
  67. data/test/vcr/cassettes/member_authenticate/member_key_success.yml +21 -20
  68. data/test/vcr/cassettes/member_authenticate/success.yml +70 -13
  69. data/test/vcr/cassettes/member_device/search_failure.yml +16 -16
  70. data/test/vcr/cassettes/member_device/search_success.yml +423 -31
  71. data/test/vcr/cassettes/oauth_application/find.yml +19 -21
  72. data/test/vcr/cassettes/oauth_application/search.yml +21 -23
  73. data/test/vcr/cassettes/oauth_application/search_oauth_first.yml +21 -23
  74. data/test/vcr/cassettes/oauth_application/token_find.yml +33 -34
  75. data/test/vcr/cassettes/oauth_application/token_search.yml +97 -532
  76. data/test/vcr/cassettes/oauth_application/token_search_tokens_first.yml +33 -178
  77. data/test/vcr/cassettes/offer/find.yml +97 -109
  78. data/test/vcr/cassettes/offer/find_uses_remaining.yml +16 -14
  79. data/test/vcr/cassettes/offer/find_with_offer_uses_remaining.yml +97 -109
  80. data/test/vcr/cassettes/offer/search.yml +99 -111
  81. data/test/vcr/cassettes/offer/search_fail_member_key.yml +11 -9
  82. data/test/vcr/cassettes/offer/search_first.yml +99 -111
  83. data/test/vcr/cassettes/offer/search_for_redeem.yml +99 -111
  84. data/test/vcr/cassettes/offer/with_aggregations.yml +920 -959
  85. data/test/vcr/cassettes/redeem/offer_no_redeem_type.yml +8 -8
  86. data/test/vcr/cassettes/redeem/offer_with_redeem_type.yml +14 -7
  87. data/test/vcr/cassettes/redeem/redeem_offer_with_redeem_type_for_uses_remaining_test.yml +15 -8
  88. data/test/vcr/cassettes/redemption/find_by_member_key.yml +49 -47
  89. data/test/vcr/cassettes/redemption/search_by_member_key.yml +516 -228
  90. data/test/vcr/cassettes/redemption/search_by_member_key_first.yml +516 -228
  91. data/test/vcr/cassettes/redemption/search_by_member_key_without_redemptions.yml +11 -9
  92. data/test/vcr/cassettes/report/all_usage.yml +15 -100
  93. data/test/vcr/cassettes/report/member_location_frequent.yml +15 -19
  94. data/test/vcr/cassettes/report/member_location_recent.yml +15 -19
  95. data/test/vcr/cassettes/report/member_query_frequent.yml +15 -19
  96. data/test/vcr/cassettes/report/member_query_recent.yml +15 -19
  97. data/test/vcr/cassettes/report/usage.yml +15 -100
  98. data/test/vcr/cassettes/report/usage_other.yml +15 -100
  99. data/test/vcr/cassettes/spot/find.yml +9 -9
  100. data/test/vcr/cassettes/spot/search_by_campaign.yml +93 -2667
  101. data/test/vcr/cassettes/spot/search_by_channel.yml +73 -906
  102. data/test/vcr/cassettes/spot/search_by_channel_first.yml +73 -906
  103. data/test/vcr/cassettes/store/find.yml +48 -45
  104. data/test/vcr/cassettes/store/national_stores.yml +1764 -2884
  105. data/test/vcr/cassettes/store/search.yml +52 -49
  106. data/test/vcr/cassettes/store/search_fail_member_key.yml +11 -9
  107. data/test/vcr/cassettes/store/search_first.yml +52 -49
  108. data/test/vcr/cassettes/token/find.yml +53 -29
  109. data/test/vcr/cassettes/token/get_first_token.yml +55 -31
  110. data/test/vcr/cassettes/token/search.yml +55 -31
  111. data/test/vcr/cassettes/user_register/failure.yml +13 -13
  112. data/test/vcr/cassettes/user_register/success.yml +11 -109
  113. data/test/vcr/cassettes/user_update/success.yml +58 -12
  114. data/test/vcr/cassettes/verify/filter.yml +108 -94
  115. data/test/vcr/cassettes/verify/token.yml +15 -13
  116. metadata +22 -46
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - ACCESS_TOKEN
11
+ - "<ACCESS_TOKEN>"
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept:
@@ -19,15 +19,13 @@ http_interactions:
19
19
  message: OK
20
20
  headers:
21
21
  Server:
22
- - nginx/1.8.0
22
+ - nginx/1.12.2
23
23
  Date:
24
- - Mon, 22 Feb 2016 20:16:57 GMT
24
+ - Sun, 01 Jul 2018 04:23:54 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
28
28
  - chunked
29
- Connection:
30
- - keep-alive
31
29
  X-Frame-Options:
32
30
  - SAMEORIGIN
33
31
  X-Xss-Protection:
@@ -42,43 +40,47 @@ http_interactions:
42
40
  - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
43
41
  Access-Control-Max-Age:
44
42
  - '1728000'
43
+ X-Ratelimit-Limit:
44
+ - '10000'
45
+ X-Ratelimit-Remaining:
46
+ - '9938'
45
47
  Etag:
46
- - '"8ad5faac2f01b1880e45c5ac956880f7"'
48
+ - '"4fb7d5e49ac6268118cc89e652c9ffd0"'
47
49
  Cache-Control:
48
50
  - max-age=0, private, must-revalidate
49
51
  X-Request-Id:
50
- - 1b1f9bd3-98aa-4da2-858b-fb643c90f606
52
+ - c9a17b67-9e6b-481a-a195-9a951659c370
51
53
  X-Runtime:
52
- - '0.014174'
54
+ - '0.011423'
53
55
  body:
54
56
  encoding: UTF-8
55
57
  string: |-
56
58
  {
57
59
  "info": {
58
- "total_results": 1092,
60
+ "total_results": 1020,
59
61
  "results_per_page": 1,
60
62
  "current_page": 1,
61
- "total_pages": 1092
63
+ "total_pages": 1020
62
64
  },
63
65
  "oauth_tokens": [
64
66
  {
65
- "application_id": 3960,
66
- "token": "1f4cfbfec58ce429ac089dea6502473d380e8a32b6960eac40b118b8a9964da3",
67
+ "application_id": 4319,
68
+ "token": "963b7a5007f6710dfdce6c73e8da948bb16d576189769be791fbaee4c3d94414",
67
69
  "expires_in": null,
68
70
  "revoked_at": null,
69
- "created_at": "2016-02-16T13:34:42.793-07:00",
70
- "oauth_access_token_id": 3995,
71
- "application_name": "RWS API - RBI_MCID (pcid:200278)",
72
- "application_owner_id": 279477590,
71
+ "created_at": "2018-06-29T15:47:18.916-06:00",
72
+ "oauth_access_token_id": 4372,
73
+ "application_name": "Underground Travel Club (pcid:200623)",
74
+ "application_owner_id": 308748412,
73
75
  "application_owner_type": "Program",
74
- "program_id": 279477590,
75
- "program_name": "RWS API - RBI_MCID",
76
- "program_customer_identifier": "200278",
77
- "program_start_dts": "2016-02-16T06:30:18.392-07:00",
78
- "program_end_dts": "2019-02-16T06:30:18.392-07:00",
79
- "organization_id": 160,
80
- "organization_name": "Access Development",
81
- "organization_customer_identifier": "160",
76
+ "program_id": 308748412,
77
+ "program_name": "Underground Travel Club",
78
+ "program_customer_identifier": "200623",
79
+ "program_start_dts": "2018-06-29T09:48:06.752-06:00",
80
+ "program_end_dts": "2021-06-29T09:48:06.752-06:00",
81
+ "organization_id": 2002441,
82
+ "organization_name": "Travel",
83
+ "organization_customer_identifier": "2002441",
82
84
  "filter_id": null,
83
85
  "filter_name": null,
84
86
  "filter": null,
@@ -90,25 +92,47 @@ http_interactions:
90
92
  "internal"
91
93
  ],
92
94
  "help_phone_number": "1-800-331-8867",
93
- "program_info_id": 279477590,
95
+ "program_info_id": 3948,
94
96
  "default_distance": 25,
95
97
  "force_update": false,
96
98
  "color_theme": {
97
99
  "name": "default",
98
100
  "primary": "#2c3e50",
99
- "primary-light": "#3e5871",
101
+ "primary-light": "#3E5871",
100
102
  "accent": "#3498db",
101
- "accent-light": "#5faee3"
103
+ "contrast": "#5FAEE3"
102
104
  },
103
105
  "email_opt_out": false,
106
+ "offsite_registration_url": null,
107
+ "provisioning_method": null,
108
+ "shared_secret": null,
109
+ "shopping_cart_enabled": true,
110
+ "pcid_registration_enabled": null,
104
111
  "mobile_logo": null,
105
112
  "mobile_teaser": null,
106
113
  "member_key_label": "Member ID",
107
114
  "member_key_hint_label": null,
108
- "indexed_at": "2016-02-16T20:29:32.163Z",
115
+ "domain_id": null,
116
+ "subdomain": null,
117
+ "ios_identifier": null,
118
+ "android_identifier": null,
119
+ "domain_name": null,
120
+ "mobile_app_id": null,
121
+ "google_app_url": null,
122
+ "apple_app_url": null,
123
+ "app_name": null,
124
+ "mobile_registration_strategy": null,
125
+ "mobile_v3": null,
126
+ "enable_mobile_app": null,
127
+ "promote_mobile_app": null,
128
+ "program_links": [
129
+
130
+ ],
131
+ "program_properties": null,
132
+ "indexed_at": "2018-06-29T21:48:36.429Z",
109
133
  "token_status": "valid",
110
134
  "links": {
111
- "show_oauth_token": "http://token-stage.adcrws.com/v1/tokens/1f4cfbfec58ce429ac089dea6502473d380e8a32b6960eac40b118b8a9964da3"
135
+ "show_oauth_token": "http://token-stage.adcrws.com/v1/tokens/963b7a5007f6710dfdce6c73e8da948bb16d576189769be791fbaee4c3d94414"
112
136
  }
113
137
  }
114
138
  ],
@@ -117,5 +141,5 @@ http_interactions:
117
141
  }
118
142
  }
119
143
  http_version:
120
- recorded_at: Mon, 22 Feb 2016 20:16:59 GMT
121
- recorded_with: VCR 3.0.1
144
+ recorded_at: Sun, 01 Jul 2018 04:23:54 GMT
145
+ recorded_with: VCR 4.0.0
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Access-Token:
11
- - ACCESS_TOKEN
11
+ - "<ACCESS_TOKEN>"
12
12
  Content-Type:
13
13
  - application/json
14
14
  Accept:
@@ -19,15 +19,13 @@ http_interactions:
19
19
  message: OK
20
20
  headers:
21
21
  Server:
22
- - nginx/1.8.0
22
+ - nginx/1.12.2
23
23
  Date:
24
- - Mon, 22 Feb 2016 20:16:57 GMT
24
+ - Sun, 01 Jul 2018 04:23:55 GMT
25
25
  Content-Type:
26
26
  - application/json
27
27
  Transfer-Encoding:
28
28
  - chunked
29
- Connection:
30
- - keep-alive
31
29
  X-Frame-Options:
32
30
  - SAMEORIGIN
33
31
  X-Xss-Protection:
@@ -42,43 +40,47 @@ http_interactions:
42
40
  - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
43
41
  Access-Control-Max-Age:
44
42
  - '1728000'
43
+ X-Ratelimit-Limit:
44
+ - '10000'
45
+ X-Ratelimit-Remaining:
46
+ - '9936'
45
47
  Etag:
46
- - '"8ad5faac2f01b1880e45c5ac956880f7"'
48
+ - '"4fb7d5e49ac6268118cc89e652c9ffd0"'
47
49
  Cache-Control:
48
50
  - max-age=0, private, must-revalidate
49
51
  X-Request-Id:
50
- - 538574ec-9f8b-422f-85e2-170cb5c32ede
52
+ - 9edc5074-7dd0-4f49-9648-16c1a7e653c8
51
53
  X-Runtime:
52
- - '0.014032'
54
+ - '0.009663'
53
55
  body:
54
56
  encoding: UTF-8
55
57
  string: |-
56
58
  {
57
59
  "info": {
58
- "total_results": 1092,
60
+ "total_results": 1020,
59
61
  "results_per_page": 1,
60
62
  "current_page": 1,
61
- "total_pages": 1092
63
+ "total_pages": 1020
62
64
  },
63
65
  "oauth_tokens": [
64
66
  {
65
- "application_id": 3960,
66
- "token": "1f4cfbfec58ce429ac089dea6502473d380e8a32b6960eac40b118b8a9964da3",
67
+ "application_id": 4319,
68
+ "token": "963b7a5007f6710dfdce6c73e8da948bb16d576189769be791fbaee4c3d94414",
67
69
  "expires_in": null,
68
70
  "revoked_at": null,
69
- "created_at": "2016-02-16T13:34:42.793-07:00",
70
- "oauth_access_token_id": 3995,
71
- "application_name": "RWS API - RBI_MCID (pcid:200278)",
72
- "application_owner_id": 279477590,
71
+ "created_at": "2018-06-29T15:47:18.916-06:00",
72
+ "oauth_access_token_id": 4372,
73
+ "application_name": "Underground Travel Club (pcid:200623)",
74
+ "application_owner_id": 308748412,
73
75
  "application_owner_type": "Program",
74
- "program_id": 279477590,
75
- "program_name": "RWS API - RBI_MCID",
76
- "program_customer_identifier": "200278",
77
- "program_start_dts": "2016-02-16T06:30:18.392-07:00",
78
- "program_end_dts": "2019-02-16T06:30:18.392-07:00",
79
- "organization_id": 160,
80
- "organization_name": "Access Development",
81
- "organization_customer_identifier": "160",
76
+ "program_id": 308748412,
77
+ "program_name": "Underground Travel Club",
78
+ "program_customer_identifier": "200623",
79
+ "program_start_dts": "2018-06-29T09:48:06.752-06:00",
80
+ "program_end_dts": "2021-06-29T09:48:06.752-06:00",
81
+ "organization_id": 2002441,
82
+ "organization_name": "Travel",
83
+ "organization_customer_identifier": "2002441",
82
84
  "filter_id": null,
83
85
  "filter_name": null,
84
86
  "filter": null,
@@ -90,25 +92,47 @@ http_interactions:
90
92
  "internal"
91
93
  ],
92
94
  "help_phone_number": "1-800-331-8867",
93
- "program_info_id": 279477590,
95
+ "program_info_id": 3948,
94
96
  "default_distance": 25,
95
97
  "force_update": false,
96
98
  "color_theme": {
97
99
  "name": "default",
98
100
  "primary": "#2c3e50",
99
- "primary-light": "#3e5871",
101
+ "primary-light": "#3E5871",
100
102
  "accent": "#3498db",
101
- "accent-light": "#5faee3"
103
+ "contrast": "#5FAEE3"
102
104
  },
103
105
  "email_opt_out": false,
106
+ "offsite_registration_url": null,
107
+ "provisioning_method": null,
108
+ "shared_secret": null,
109
+ "shopping_cart_enabled": true,
110
+ "pcid_registration_enabled": null,
104
111
  "mobile_logo": null,
105
112
  "mobile_teaser": null,
106
113
  "member_key_label": "Member ID",
107
114
  "member_key_hint_label": null,
108
- "indexed_at": "2016-02-16T20:29:32.163Z",
115
+ "domain_id": null,
116
+ "subdomain": null,
117
+ "ios_identifier": null,
118
+ "android_identifier": null,
119
+ "domain_name": null,
120
+ "mobile_app_id": null,
121
+ "google_app_url": null,
122
+ "apple_app_url": null,
123
+ "app_name": null,
124
+ "mobile_registration_strategy": null,
125
+ "mobile_v3": null,
126
+ "enable_mobile_app": null,
127
+ "promote_mobile_app": null,
128
+ "program_links": [
129
+
130
+ ],
131
+ "program_properties": null,
132
+ "indexed_at": "2018-06-29T21:48:36.429Z",
109
133
  "token_status": "valid",
110
134
  "links": {
111
- "show_oauth_token": "http://token-stage.adcrws.com/v1/tokens/1f4cfbfec58ce429ac089dea6502473d380e8a32b6960eac40b118b8a9964da3"
135
+ "show_oauth_token": "http://token-stage.adcrws.com/v1/tokens/963b7a5007f6710dfdce6c73e8da948bb16d576189769be791fbaee4c3d94414"
112
136
  }
113
137
  }
114
138
  ],
@@ -117,5 +141,5 @@ http_interactions:
117
141
  }
118
142
  }
119
143
  http_version:
120
- recorded_at: Mon, 22 Feb 2016 20:17:00 GMT
121
- recorded_with: VCR 3.0.1
144
+ recorded_at: Sun, 01 Jul 2018 04:23:55 GMT
145
+ recorded_with: VCR 4.0.0
@@ -16,10 +16,18 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 400
19
- message: Bad Request
19
+ message: ''
20
20
  headers:
21
- Server:
22
- - Apache-Coyote/1.1
21
+ Date:
22
+ - Sun, 01 Jul 2018 04:23:29 GMT
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ X-Application-Context:
30
+ - application:stage
23
31
  X-Content-Type-Options:
24
32
  - nosniff
25
33
  X-Xss-Protection:
@@ -32,17 +40,9 @@ http_interactions:
32
40
  - '0'
33
41
  X-Frame-Options:
34
42
  - DENY
35
- X-Application-Context:
36
- - application:main,stage:10120
37
- Content-Type:
38
- - application/json;charset=UTF-8
39
- Transfer-Encoding:
40
- - chunked
41
- Date:
42
- - Mon, 22 Feb 2016 23:05:53 GMT
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: '{"message":"email is null or empty string.","status":400}'
46
46
  http_version:
47
- recorded_at: Mon, 22 Feb 2016 23:05:56 GMT
48
- recorded_with: VCR 3.0.1
47
+ recorded_at: Sun, 01 Jul 2018 04:23:29 GMT
48
+ recorded_with: VCR 4.0.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://mms-stage.adcrws.com/v1/register
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"program_id":2412,"first_name":"RubyGem","last_name":"Test","postal_code":84047,"email":"rubygemtest-fbc0142b@accessdevelopment.com","password":"test1234","shared_secret":"thanks","program_url":"saversclub.accessdevelopment.com"}'
8
+ string: '{"program_id":2412,"first_name":"RubyGem","last_name":"Test","postal_code":84047,"email":"rubygemtest-11@accessdevelopment.com","password":"test1234","shared_secret":"thanks","program_url":"saversclub.accessdevelopment.com"}'
9
9
  headers:
10
10
  Access-Token:
11
11
  - "<ACCESS_TOKEN>"
@@ -16,108 +16,18 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 200
19
- message: OK
19
+ message: ''
20
20
  headers:
21
- Server:
22
- - Apache-Coyote/1.1
23
- X-Content-Type-Options:
24
- - nosniff
25
- X-Xss-Protection:
26
- - 1; mode=block
27
- Cache-Control:
28
- - no-cache, no-store, max-age=0, must-revalidate
29
- Pragma:
30
- - no-cache
31
- Expires:
32
- - '0'
33
- X-Frame-Options:
34
- - DENY
35
- X-Application-Context:
36
- - application:main,stage:10120
37
- Content-Type:
38
- - application/json;charset=UTF-8
39
- Transfer-Encoding:
40
- - chunked
41
21
  Date:
42
- - Tue, 23 Feb 2016 17:54:26 GMT
43
- body:
44
- encoding: UTF-8
45
- string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access
46
- Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access
47
- Perks Demo","member_id":93256794,"member_key":"227060","email":"rubygemtest-fbc0142b@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":1298124,"cvt":"df1034cf4160844afc4999b3adb4d4daec9fcc95","postal_code":"84047","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
48
- Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
49
- Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":93256794,"member_key":"227060","email":"rubygemtest-fbc0142b@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","cvt":"df1034cf4160844afc4999b3adb4d4daec9fcc95","postal_code":"84047"},"user":{"email":"rubygemtest-fbc0142b@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":1298124,"roles":[],"has_password":true,"password_expired":false}}]}'
50
- http_version:
51
- recorded_at: Tue, 23 Feb 2016 17:54:27 GMT
52
- - request:
53
- method: post
54
- uri: https://mms-stage.adcrws.com/v1/register
55
- body:
56
- encoding: UTF-8
57
- string: '{"program_id":2412,"first_name":"RubyGem","last_name":"Test","postal_code":84047,"email":"rubygemtest-c8f922c4@accessdevelopment.com","password":"test1234","shared_secret":"thanks","program_url":"saversclub.accessdevelopment.com"}'
58
- headers:
59
- Access-Token:
60
- - "<ACCESS_TOKEN>"
61
- Content-Type:
62
- - application/json
63
- Accept:
64
- - application/json
65
- response:
66
- status:
67
- code: 200
68
- message: OK
69
- headers:
70
- Server:
71
- - Apache-Coyote/1.1
72
- X-Content-Type-Options:
73
- - nosniff
74
- X-Xss-Protection:
75
- - 1; mode=block
76
- Cache-Control:
77
- - no-cache, no-store, max-age=0, must-revalidate
78
- Pragma:
79
- - no-cache
80
- Expires:
81
- - '0'
82
- X-Frame-Options:
83
- - DENY
84
- X-Application-Context:
85
- - application:main,stage:10110
22
+ - Sun, 01 Jul 2018 05:21:03 GMT
86
23
  Content-Type:
87
24
  - application/json;charset=UTF-8
88
25
  Transfer-Encoding:
89
26
  - chunked
90
- Date:
91
- - Tue, 23 Feb 2016 17:55:35 GMT
92
- body:
93
- encoding: UTF-8
94
- string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access
95
- Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access
96
- Perks Demo","member_id":93256795,"member_key":"227061","email":"rubygemtest-c8f922c4@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":1298125,"cvt":"25cb61a228db3db62a0cb6cd740accc5762d3e99","postal_code":"84047","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
97
- Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
98
- Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":93256795,"member_key":"227061","email":"rubygemtest-c8f922c4@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","cvt":"25cb61a228db3db62a0cb6cd740accc5762d3e99","postal_code":"84047"},"user":{"email":"rubygemtest-c8f922c4@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":1298125,"roles":[],"has_password":true,"password_expired":false}}]}'
99
- http_version:
100
- recorded_at: Tue, 23 Feb 2016 17:55:36 GMT
101
- - request:
102
- method: post
103
- uri: https://mms-stage.adcrws.com/v1/register
104
- body:
105
- encoding: UTF-8
106
- string: '{"program_id":2412,"first_name":"RubyGem","last_name":"Test","postal_code":84047,"email":"rubygemtest-6@accessdevelopment.com","password":"test1234","shared_secret":"thanks","program_url":"saversclub.accessdevelopment.com"}'
107
- headers:
108
- Access-Token:
109
- - "<ACCESS_TOKEN>"
110
- Content-Type:
111
- - application/json
112
- Accept:
113
- - application/json
114
- response:
115
- status:
116
- code: 200
117
- message: OK
118
- headers:
119
- Server:
120
- - Apache-Coyote/1.1
27
+ Connection:
28
+ - keep-alive
29
+ X-Application-Context:
30
+ - application:stage
121
31
  X-Content-Type-Options:
122
32
  - nosniff
123
33
  X-Xss-Protection:
@@ -130,21 +40,13 @@ http_interactions:
130
40
  - '0'
131
41
  X-Frame-Options:
132
42
  - DENY
133
- X-Application-Context:
134
- - application:main,stage:10120
135
- Content-Type:
136
- - application/json;charset=UTF-8
137
- Transfer-Encoding:
138
- - chunked
139
- Date:
140
- - Tue, 23 Feb 2016 18:10:07 GMT
141
43
  body:
142
44
  encoding: UTF-8
143
45
  string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access
144
46
  Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access
145
- Perks Demo","member_id":93256796,"member_key":"227062","email":"rubygemtest-6@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":1298126,"cvt":"bfabd2645fb429561bf3aabc3c091b12d904c025","postal_code":"84047","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
47
+ Perks Demo","member_id":101400281,"member_key":"228126","email":"rubygemtest-11@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":2178670,"cvt":"aa0f31883ada892766987a875df3776c88418ec0","postal_code":"84047","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
146
48
  Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
147
- Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":93256796,"member_key":"227062","email":"rubygemtest-6@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","cvt":"bfabd2645fb429561bf3aabc3c091b12d904c025","postal_code":"84047"},"user":{"email":"rubygemtest-6@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":1298126,"roles":[],"has_password":true,"password_expired":false}}]}'
49
+ Perks Demo","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101400281,"member_key":"228126","email":"rubygemtest-11@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","cvt":"aa0f31883ada892766987a875df3776c88418ec0","postal_code":"84047","points_balance":0},"user":{"email":"rubygemtest-11@accessdevelopment.com","first_name":"RubyGem","last_name":"Test","reg_id":2178670,"roles":[],"has_password":true,"password_expired":false,"user_id":308748421,"account_enabled":true,"account_locked":false,"account_validated":true}}]}'
148
50
  http_version:
149
- recorded_at: Tue, 23 Feb 2016 18:10:07 GMT
150
- recorded_with: VCR 3.0.1
51
+ recorded_at: Sun, 01 Jul 2018 05:21:03 GMT
52
+ recorded_with: VCR 4.0.0