braze_ruby 0.2.2 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +14 -3
  3. data/.gitignore +1 -0
  4. data/Gemfile +2 -0
  5. data/Gemfile.lock +39 -39
  6. data/README.md +64 -0
  7. data/Rakefile +2 -0
  8. data/braze_ruby.gemspec +7 -7
  9. data/lib/braze_ruby.rb +2 -0
  10. data/lib/braze_ruby/api.rb +11 -4
  11. data/lib/braze_ruby/deprecated.rb +2 -0
  12. data/lib/braze_ruby/endpoints.rb +4 -0
  13. data/lib/braze_ruby/endpoints/campaigns.rb +3 -1
  14. data/lib/braze_ruby/endpoints/canvas.rb +7 -1
  15. data/lib/braze_ruby/endpoints/create_user_aliases.rb +19 -0
  16. data/lib/braze_ruby/endpoints/delete_users.rb +4 -2
  17. data/lib/braze_ruby/endpoints/email_status.rb +3 -1
  18. data/lib/braze_ruby/endpoints/email_sync.rb +4 -2
  19. data/lib/braze_ruby/endpoints/identify_users.rb +19 -0
  20. data/lib/braze_ruby/endpoints/schedule_messages.rb +3 -1
  21. data/lib/braze_ruby/endpoints/send_messages.rb +3 -1
  22. data/lib/braze_ruby/endpoints/subscription.rb +20 -0
  23. data/lib/braze_ruby/endpoints/track_users.rb +7 -5
  24. data/lib/braze_ruby/http.rb +20 -5
  25. data/lib/braze_ruby/rest.rb +8 -0
  26. data/lib/braze_ruby/rest/base.rb +6 -2
  27. data/lib/braze_ruby/rest/canvas_details.rb +20 -0
  28. data/lib/braze_ruby/rest/create_user_aliases.rb +13 -0
  29. data/lib/braze_ruby/rest/delete_users.rb +3 -2
  30. data/lib/braze_ruby/rest/email_hard_bounces.rb +5 -5
  31. data/lib/braze_ruby/rest/email_status.rb +5 -5
  32. data/lib/braze_ruby/rest/email_unsubscribes.rb +5 -5
  33. data/lib/braze_ruby/rest/export_users.rb +7 -7
  34. data/lib/braze_ruby/rest/identify_users.rb +13 -0
  35. data/lib/braze_ruby/rest/list_segments.rb +4 -4
  36. data/lib/braze_ruby/rest/schedule_messages.rb +5 -5
  37. data/lib/braze_ruby/rest/send_messages.rb +5 -5
  38. data/lib/braze_ruby/rest/subscription_status_get.rb +20 -0
  39. data/lib/braze_ruby/rest/subscription_status_set.rb +20 -0
  40. data/lib/braze_ruby/rest/subscription_user_status.rb +20 -0
  41. data/lib/braze_ruby/rest/track_users.rb +3 -2
  42. data/lib/braze_ruby/rest/trigger_campaign_send.rb +6 -8
  43. data/lib/braze_ruby/rest/trigger_canvas_send.rb +5 -5
  44. data/lib/braze_ruby/version.rb +3 -1
  45. data/spec/braze_ruby/api_spec.rb +2 -0
  46. data/spec/braze_ruby/endpoints/delete_users_spec.rb +3 -1
  47. data/spec/braze_ruby/endpoints/track_users_spec.rb +10 -8
  48. data/spec/braze_ruby/http_spec.rb +48 -0
  49. data/spec/braze_ruby/rest/create_user_aliases_spec.rb +23 -0
  50. data/spec/braze_ruby/rest/delete_users_spec.rb +5 -3
  51. data/spec/braze_ruby/rest/email_status_spec.rb +3 -2
  52. data/spec/braze_ruby/rest/export_users_spec.rb +5 -3
  53. data/spec/braze_ruby/rest/identify_users_spec.rb +23 -0
  54. data/spec/braze_ruby/rest/schedule_messages_spec.rb +3 -2
  55. data/spec/braze_ruby/rest/send_messages_spec.rb +10 -13
  56. data/spec/braze_ruby/rest/track_users_spec.rb +12 -9
  57. data/spec/factories.rb +2 -0
  58. data/spec/fixtures/responses/campaigns/trigger_send/sends_an_email.yml +17 -15
  59. data/spec/fixtures/responses/canvas/details/returns_error_when_no_canvas.yml +69 -0
  60. data/spec/fixtures/responses/canvas/trigger_send/sends_a_canvas.yml +18 -16
  61. data/spec/fixtures/responses/create_user_aliases/unauthorized/responds_with_unauthorized.yml +67 -0
  62. data/spec/fixtures/responses/create_user_aliases/with_success/responds_with_created.yml +71 -0
  63. data/spec/fixtures/responses/create_user_aliases/with_success/responds_with_success_message.yml +71 -0
  64. data/spec/fixtures/responses/delete_users/unauthorized/responds_with_unauthorized.yml +20 -18
  65. data/spec/fixtures/responses/delete_users/with_success/responds_with_created.yml +25 -23
  66. data/spec/fixtures/responses/delete_users/with_success/responds_with_success_message.yml +25 -23
  67. data/spec/fixtures/responses/email_status/existing_email/responds_with_created.yml +22 -20
  68. data/spec/fixtures/responses/email_status/existing_email/responds_with_success_message.yml +22 -20
  69. data/spec/fixtures/responses/email_status/unknown_email/responds_with_bad_request.yml +22 -20
  70. data/spec/fixtures/responses/email_status/unknown_email/responds_with_success_message.yml +22 -20
  71. data/spec/fixtures/responses/email_sync/hard_bounces/responds_with_empty_array_when_no_hard_bounces.yml +18 -16
  72. data/spec/fixtures/responses/email_sync/unsubscribes/responds_with_empty_array_when_no_unsubscribes.yml +18 -16
  73. data/spec/fixtures/responses/email_sync/unsubscribes/responds_with_unsubscribed_emails.yml +21 -20
  74. data/spec/fixtures/responses/export_users/by_ids/with_success/responds_with_created.yml +25 -22
  75. data/spec/fixtures/responses/export_users/by_segment/with_success/responds_with_created.yml +24 -22
  76. data/spec/fixtures/responses/identify_users/unauthorized/responds_with_unauthorized.yml +68 -0
  77. data/spec/fixtures/responses/identify_users/with_success/responds_with_created.yml +71 -0
  78. data/spec/fixtures/responses/identify_users/with_success/responds_with_success_message.yml +71 -0
  79. data/spec/fixtures/responses/list_segments/with_success/responds_with_a_list_of_segments.yml +35 -35
  80. data/spec/fixtures/responses/list_segments/with_success/responds_with_success.yml +35 -35
  81. data/spec/fixtures/responses/schedule_messages/unauthorized/responds_with_unauthorize.yml +20 -19
  82. data/spec/fixtures/responses/schedule_messages/with_success/responds_with_created.yml +24 -23
  83. data/spec/fixtures/responses/schedule_messages/with_success/responds_with_success_message.yml +24 -23
  84. data/spec/fixtures/responses/send_messages/unauthorized/responds_with_unauthorized.yml +20 -18
  85. data/spec/fixtures/responses/send_messages/with_success/responds_with_created.yml +24 -22
  86. data/spec/fixtures/responses/send_messages/with_success/responds_with_success_message.yml +24 -22
  87. data/spec/fixtures/responses/subscription/subscription_status_set/when_subscribing/subscribes_the_user.yml +71 -0
  88. data/spec/fixtures/responses/subscription/subscription_status_set/when_subscription_group_does_not_exist/returns_an_error_status.yml +68 -0
  89. data/spec/fixtures/responses/subscription/subscription_status_set/when_unsubscribing/unsubscribes_the_user.yml +139 -0
  90. data/spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_status_get/when_checking_subscribed_and_unsubscribed_user_status/returns_only_users_that_were_once_subscribed.yml +211 -0
  91. data/spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_status_get/when_group_does_not_exist/returns_an_error.yml +199 -0
  92. data/spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_user_status/returns_subscription_groups_and_status_for_every_group.yml +211 -0
  93. data/spec/fixtures/responses/track_users/unauthorized/responds_with_unauthorized.yml +23 -21
  94. data/spec/fixtures/responses/track_users/with_success/responds_with_created.yml +22 -20
  95. data/spec/fixtures/responses/track_users/with_success/responds_with_success_message.yml +22 -20
  96. data/spec/integrations/campaigns_spec.rb +6 -2
  97. data/spec/integrations/canvas_spec.rb +15 -2
  98. data/spec/integrations/create_user_aliases_spec.rb +32 -0
  99. data/spec/integrations/delete_users_spec.rb +3 -0
  100. data/spec/integrations/email_status_spec.rb +2 -0
  101. data/spec/integrations/email_sync_spec.rb +4 -2
  102. data/spec/integrations/export_users_spec.rb +4 -2
  103. data/spec/integrations/identify_users_spec.rb +32 -0
  104. data/spec/integrations/list_segments_spec.rb +3 -1
  105. data/spec/integrations/schedule_messages_spec.rb +4 -1
  106. data/spec/integrations/send_messages_spec.rb +4 -1
  107. data/spec/integrations/subscription_spec.rb +149 -0
  108. data/spec/integrations/track_users_spec.rb +3 -0
  109. data/spec/spec_helper.rb +2 -8
  110. data/spec/support/factory_bot.rb +2 -0
  111. data/spec/support/integrations.rb +7 -1
  112. data/spec/support/vcr.rb +5 -1
  113. metadata +68 -21
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braze_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Nussbaum
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-09-25 00:00:00.000000000 Z
13
+ date: 2021-01-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday
@@ -46,98 +46,98 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '0'
49
+ version: 12.3.3
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: '0'
56
+ version: 12.3.3
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rspec
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '0'
63
+ version: '3.8'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '0'
70
+ version: '3.8'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: dotenv
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 2.7.5
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '0'
84
+ version: 2.7.5
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: vcr
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: '0'
91
+ version: 5.0.0
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: '0'
98
+ version: 5.0.0
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: webmock
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: '0'
105
+ version: 3.7.5
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
- version: '0'
112
+ version: 3.7.5
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: pry
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: '0'
119
+ version: 0.12.2
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- version: '0'
126
+ version: 0.12.2
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: factory_bot
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - ">="
132
132
  - !ruby/object:Gem::Version
133
- version: '0'
133
+ version: 5.1.0
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: '0'
140
+ version: 5.1.0
141
141
  description: Braze wrapper
142
142
  email:
143
143
  - josh@godynamo.com
@@ -162,23 +162,32 @@ files:
162
162
  - lib/braze_ruby/endpoints.rb
163
163
  - lib/braze_ruby/endpoints/campaigns.rb
164
164
  - lib/braze_ruby/endpoints/canvas.rb
165
+ - lib/braze_ruby/endpoints/create_user_aliases.rb
165
166
  - lib/braze_ruby/endpoints/delete_users.rb
166
167
  - lib/braze_ruby/endpoints/email_status.rb
167
168
  - lib/braze_ruby/endpoints/email_sync.rb
169
+ - lib/braze_ruby/endpoints/identify_users.rb
168
170
  - lib/braze_ruby/endpoints/schedule_messages.rb
169
171
  - lib/braze_ruby/endpoints/send_messages.rb
172
+ - lib/braze_ruby/endpoints/subscription.rb
170
173
  - lib/braze_ruby/endpoints/track_users.rb
171
174
  - lib/braze_ruby/http.rb
172
175
  - lib/braze_ruby/rest.rb
173
176
  - lib/braze_ruby/rest/base.rb
177
+ - lib/braze_ruby/rest/canvas_details.rb
178
+ - lib/braze_ruby/rest/create_user_aliases.rb
174
179
  - lib/braze_ruby/rest/delete_users.rb
175
180
  - lib/braze_ruby/rest/email_hard_bounces.rb
176
181
  - lib/braze_ruby/rest/email_status.rb
177
182
  - lib/braze_ruby/rest/email_unsubscribes.rb
178
183
  - lib/braze_ruby/rest/export_users.rb
184
+ - lib/braze_ruby/rest/identify_users.rb
179
185
  - lib/braze_ruby/rest/list_segments.rb
180
186
  - lib/braze_ruby/rest/schedule_messages.rb
181
187
  - lib/braze_ruby/rest/send_messages.rb
188
+ - lib/braze_ruby/rest/subscription_status_get.rb
189
+ - lib/braze_ruby/rest/subscription_status_set.rb
190
+ - lib/braze_ruby/rest/subscription_user_status.rb
182
191
  - lib/braze_ruby/rest/track_users.rb
183
192
  - lib/braze_ruby/rest/trigger_campaign_send.rb
184
193
  - lib/braze_ruby/rest/trigger_canvas_send.rb
@@ -186,15 +195,22 @@ files:
186
195
  - spec/braze_ruby/api_spec.rb
187
196
  - spec/braze_ruby/endpoints/delete_users_spec.rb
188
197
  - spec/braze_ruby/endpoints/track_users_spec.rb
198
+ - spec/braze_ruby/http_spec.rb
199
+ - spec/braze_ruby/rest/create_user_aliases_spec.rb
189
200
  - spec/braze_ruby/rest/delete_users_spec.rb
190
201
  - spec/braze_ruby/rest/email_status_spec.rb
191
202
  - spec/braze_ruby/rest/export_users_spec.rb
203
+ - spec/braze_ruby/rest/identify_users_spec.rb
192
204
  - spec/braze_ruby/rest/schedule_messages_spec.rb
193
205
  - spec/braze_ruby/rest/send_messages_spec.rb
194
206
  - spec/braze_ruby/rest/track_users_spec.rb
195
207
  - spec/factories.rb
196
208
  - spec/fixtures/responses/campaigns/trigger_send/sends_an_email.yml
209
+ - spec/fixtures/responses/canvas/details/returns_error_when_no_canvas.yml
197
210
  - spec/fixtures/responses/canvas/trigger_send/sends_a_canvas.yml
211
+ - spec/fixtures/responses/create_user_aliases/unauthorized/responds_with_unauthorized.yml
212
+ - spec/fixtures/responses/create_user_aliases/with_success/responds_with_created.yml
213
+ - spec/fixtures/responses/create_user_aliases/with_success/responds_with_success_message.yml
198
214
  - spec/fixtures/responses/delete_users/unauthorized/responds_with_unauthorized.yml
199
215
  - spec/fixtures/responses/delete_users/with_success/responds_with_created.yml
200
216
  - spec/fixtures/responses/delete_users/with_success/responds_with_success_message.yml
@@ -207,6 +223,9 @@ files:
207
223
  - spec/fixtures/responses/email_sync/unsubscribes/responds_with_unsubscribed_emails.yml
208
224
  - spec/fixtures/responses/export_users/by_ids/with_success/responds_with_created.yml
209
225
  - spec/fixtures/responses/export_users/by_segment/with_success/responds_with_created.yml
226
+ - spec/fixtures/responses/identify_users/unauthorized/responds_with_unauthorized.yml
227
+ - spec/fixtures/responses/identify_users/with_success/responds_with_created.yml
228
+ - spec/fixtures/responses/identify_users/with_success/responds_with_success_message.yml
210
229
  - spec/fixtures/responses/list_segments/with_success/responds_with_a_list_of_segments.yml
211
230
  - spec/fixtures/responses/list_segments/with_success/responds_with_success.yml
212
231
  - spec/fixtures/responses/schedule_messages/unauthorized/responds_with_unauthorize.yml
@@ -215,18 +234,27 @@ files:
215
234
  - spec/fixtures/responses/send_messages/unauthorized/responds_with_unauthorized.yml
216
235
  - spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
217
236
  - spec/fixtures/responses/send_messages/with_success/responds_with_success_message.yml
237
+ - spec/fixtures/responses/subscription/subscription_status_set/when_subscribing/subscribes_the_user.yml
238
+ - spec/fixtures/responses/subscription/subscription_status_set/when_subscription_group_does_not_exist/returns_an_error_status.yml
239
+ - spec/fixtures/responses/subscription/subscription_status_set/when_unsubscribing/unsubscribes_the_user.yml
240
+ - spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_status_get/when_checking_subscribed_and_unsubscribed_user_status/returns_only_users_that_were_once_subscribed.yml
241
+ - spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_status_get/when_group_does_not_exist/returns_an_error.yml
242
+ - spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_user_status/returns_subscription_groups_and_status_for_every_group.yml
218
243
  - spec/fixtures/responses/track_users/unauthorized/responds_with_unauthorized.yml
219
244
  - spec/fixtures/responses/track_users/with_success/responds_with_created.yml
220
245
  - spec/fixtures/responses/track_users/with_success/responds_with_success_message.yml
221
246
  - spec/integrations/campaigns_spec.rb
222
247
  - spec/integrations/canvas_spec.rb
248
+ - spec/integrations/create_user_aliases_spec.rb
223
249
  - spec/integrations/delete_users_spec.rb
224
250
  - spec/integrations/email_status_spec.rb
225
251
  - spec/integrations/email_sync_spec.rb
226
252
  - spec/integrations/export_users_spec.rb
253
+ - spec/integrations/identify_users_spec.rb
227
254
  - spec/integrations/list_segments_spec.rb
228
255
  - spec/integrations/schedule_messages_spec.rb
229
256
  - spec/integrations/send_messages_spec.rb
257
+ - spec/integrations/subscription_spec.rb
230
258
  - spec/integrations/track_users_spec.rb
231
259
  - spec/spec_helper.rb
232
260
  - spec/support/factory_bot.rb
@@ -253,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
281
  - !ruby/object:Gem::Version
254
282
  version: '0'
255
283
  requirements: []
256
- rubygems_version: 3.0.6
284
+ rubygems_version: 3.1.4
257
285
  signing_key:
258
286
  specification_version: 4
259
287
  summary: A wrapper for the Braze REST API forked from the appboy gem, track users/events/purchases,
@@ -262,15 +290,22 @@ test_files:
262
290
  - spec/braze_ruby/api_spec.rb
263
291
  - spec/braze_ruby/endpoints/delete_users_spec.rb
264
292
  - spec/braze_ruby/endpoints/track_users_spec.rb
293
+ - spec/braze_ruby/http_spec.rb
294
+ - spec/braze_ruby/rest/create_user_aliases_spec.rb
265
295
  - spec/braze_ruby/rest/delete_users_spec.rb
266
296
  - spec/braze_ruby/rest/email_status_spec.rb
267
297
  - spec/braze_ruby/rest/export_users_spec.rb
298
+ - spec/braze_ruby/rest/identify_users_spec.rb
268
299
  - spec/braze_ruby/rest/schedule_messages_spec.rb
269
300
  - spec/braze_ruby/rest/send_messages_spec.rb
270
301
  - spec/braze_ruby/rest/track_users_spec.rb
271
302
  - spec/factories.rb
272
303
  - spec/fixtures/responses/campaigns/trigger_send/sends_an_email.yml
304
+ - spec/fixtures/responses/canvas/details/returns_error_when_no_canvas.yml
273
305
  - spec/fixtures/responses/canvas/trigger_send/sends_a_canvas.yml
306
+ - spec/fixtures/responses/create_user_aliases/unauthorized/responds_with_unauthorized.yml
307
+ - spec/fixtures/responses/create_user_aliases/with_success/responds_with_created.yml
308
+ - spec/fixtures/responses/create_user_aliases/with_success/responds_with_success_message.yml
274
309
  - spec/fixtures/responses/delete_users/unauthorized/responds_with_unauthorized.yml
275
310
  - spec/fixtures/responses/delete_users/with_success/responds_with_created.yml
276
311
  - spec/fixtures/responses/delete_users/with_success/responds_with_success_message.yml
@@ -283,6 +318,9 @@ test_files:
283
318
  - spec/fixtures/responses/email_sync/unsubscribes/responds_with_unsubscribed_emails.yml
284
319
  - spec/fixtures/responses/export_users/by_ids/with_success/responds_with_created.yml
285
320
  - spec/fixtures/responses/export_users/by_segment/with_success/responds_with_created.yml
321
+ - spec/fixtures/responses/identify_users/unauthorized/responds_with_unauthorized.yml
322
+ - spec/fixtures/responses/identify_users/with_success/responds_with_created.yml
323
+ - spec/fixtures/responses/identify_users/with_success/responds_with_success_message.yml
286
324
  - spec/fixtures/responses/list_segments/with_success/responds_with_a_list_of_segments.yml
287
325
  - spec/fixtures/responses/list_segments/with_success/responds_with_success.yml
288
326
  - spec/fixtures/responses/schedule_messages/unauthorized/responds_with_unauthorize.yml
@@ -291,18 +329,27 @@ test_files:
291
329
  - spec/fixtures/responses/send_messages/unauthorized/responds_with_unauthorized.yml
292
330
  - spec/fixtures/responses/send_messages/with_success/responds_with_created.yml
293
331
  - spec/fixtures/responses/send_messages/with_success/responds_with_success_message.yml
332
+ - spec/fixtures/responses/subscription/subscription_status_set/when_subscribing/subscribes_the_user.yml
333
+ - spec/fixtures/responses/subscription/subscription_status_set/when_subscription_group_does_not_exist/returns_an_error_status.yml
334
+ - spec/fixtures/responses/subscription/subscription_status_set/when_unsubscribing/unsubscribes_the_user.yml
335
+ - spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_status_get/when_checking_subscribed_and_unsubscribed_user_status/returns_only_users_that_were_once_subscribed.yml
336
+ - spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_status_get/when_group_does_not_exist/returns_an_error.yml
337
+ - spec/fixtures/responses/subscription/when_getting_subscription_group_statuses/subscription_user_status/returns_subscription_groups_and_status_for_every_group.yml
294
338
  - spec/fixtures/responses/track_users/unauthorized/responds_with_unauthorized.yml
295
339
  - spec/fixtures/responses/track_users/with_success/responds_with_created.yml
296
340
  - spec/fixtures/responses/track_users/with_success/responds_with_success_message.yml
297
341
  - spec/integrations/campaigns_spec.rb
298
342
  - spec/integrations/canvas_spec.rb
343
+ - spec/integrations/create_user_aliases_spec.rb
299
344
  - spec/integrations/delete_users_spec.rb
300
345
  - spec/integrations/email_status_spec.rb
301
346
  - spec/integrations/email_sync_spec.rb
302
347
  - spec/integrations/export_users_spec.rb
348
+ - spec/integrations/identify_users_spec.rb
303
349
  - spec/integrations/list_segments_spec.rb
304
350
  - spec/integrations/schedule_messages_spec.rb
305
351
  - spec/integrations/send_messages_spec.rb
352
+ - spec/integrations/subscription_spec.rb
306
353
  - spec/integrations/track_users_spec.rb
307
354
  - spec/spec_helper.rb
308
355
  - spec/support/factory_bot.rb