mailgun-ruby 1.3.2 → 1.3.3
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/.gitignore +1 -0
- data/lib/mailgun/client.rb +1 -0
- data/lib/mailgun/messages/message_builder.rb +12 -1
- data/lib/mailgun/version.rb +1 -1
- data/mailgun.gemspec +4 -2
- data/spec/integration/domains_spec.rb +95 -92
- data/spec/integration/email_validation_spec.rb +2 -1
- data/spec/integration/list_spec.rb +1 -1
- data/spec/integration/mailer_spec.rb +5 -5
- data/spec/integration/mailgun_spec.rb +9 -7
- data/spec/integration/stats_spec.rb +1 -1
- data/spec/integration/unsubscribes_spec.rb +2 -2
- data/spec/integration/webhook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/unit/events/events_spec.rb +1 -1
- data/spec/unit/messages/message_builder_spec.rb +1 -1
- data/vcr_cassettes/bounces.yml +29 -277
- data/vcr_cassettes/complaints.yml +66 -136
- data/vcr_cassettes/domains.yml +288 -1451
- data/vcr_cassettes/email_validation.yml +37 -229
- data/vcr_cassettes/events.yml +20 -792
- data/vcr_cassettes/exceptions.yml +1 -1
- data/vcr_cassettes/list_members.yml +66 -394
- data/vcr_cassettes/mailing_list.yml +8 -8
- data/vcr_cassettes/stats.yml +3 -44
- data/vcr_cassettes/suppressions.yml +159 -1162
- data/vcr_cassettes/unsubscribes.yml +4 -4
- metadata +35 -10
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api
|
5
|
+
uri: https://api.mailgun.net/v3/not-our-doma.in/messages
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: from=sally%40not-our-doma.in&to=bob%40DOMAIN.TEST&subject=Exception+Integration+Test&text=INTEGRATION+TESTING
|
@@ -1,335 +1,18 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api:<APIKEY>@api.mailgun.net/v3/lists
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: address=integration_test_list%40DOMAIN.TEST&name=Integration%20Test%20List&description=This%20list%20should%20be%20deleted%20automatically.&access_level=members
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Length:
|
15
|
-
- '195'
|
16
|
-
Content-Type:
|
17
|
-
- application/x-www-form-urlencoded
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Server:
|
26
|
-
- nginx
|
27
|
-
Date:
|
28
|
-
- Fri, 08 Jan 2016 20:20:43 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json
|
31
|
-
Content-Length:
|
32
|
-
- '361'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Content-Disposition:
|
36
|
-
- inline
|
37
|
-
Access-Control-Allow-Origin:
|
38
|
-
- "*"
|
39
|
-
Access-Control-Max-Age:
|
40
|
-
- '600'
|
41
|
-
Access-Control-Allow-Methods:
|
42
|
-
- GET, POST, PUT, DELETE, OPTIONS
|
43
|
-
Access-Control-Allow-Headers:
|
44
|
-
- Content-Type, x-requested-with
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: |-
|
48
|
-
{
|
49
|
-
"list": {
|
50
|
-
"access_level": "members",
|
51
|
-
"address": "integration_test_list@DOMAIN.TEST",
|
52
|
-
"created_at": "Fri, 08 Jan 2016 20:20:43 -0000",
|
53
|
-
"description": "This list should be deleted automatically.",
|
54
|
-
"members_count": 0,
|
55
|
-
"name": "Integration Test List"
|
56
|
-
},
|
57
|
-
"message": "Mailing list has been created"
|
58
|
-
}
|
59
|
-
http_version:
|
60
|
-
recorded_at: Fri, 08 Jan 2016 20:20:43 GMT
|
61
|
-
- request:
|
62
|
-
method: post
|
63
|
-
uri: https://api:<APIKEY>@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members
|
64
|
-
body:
|
65
|
-
encoding: US-ASCII
|
66
|
-
string: address=integration_test_member_member%40DOMAIN.TEST&name=Jane%20Doe&subscribed=true&upsert=no
|
67
|
-
headers:
|
68
|
-
Accept:
|
69
|
-
- "*/*; q=0.5, application/xml"
|
70
|
-
Accept-Encoding:
|
71
|
-
- gzip, deflate
|
72
|
-
Content-Length:
|
73
|
-
- '129'
|
74
|
-
Content-Type:
|
75
|
-
- application/x-www-form-urlencoded
|
76
|
-
User-Agent:
|
77
|
-
- Ruby
|
78
|
-
response:
|
79
|
-
status:
|
80
|
-
code: 200
|
81
|
-
message: OK
|
82
|
-
headers:
|
83
|
-
Server:
|
84
|
-
- nginx
|
85
|
-
Date:
|
86
|
-
- Fri, 08 Jan 2016 20:20:43 GMT
|
87
|
-
Content-Type:
|
88
|
-
- application/json
|
89
|
-
Content-Length:
|
90
|
-
- '233'
|
91
|
-
Connection:
|
92
|
-
- keep-alive
|
93
|
-
Content-Disposition:
|
94
|
-
- inline
|
95
|
-
Access-Control-Allow-Origin:
|
96
|
-
- "*"
|
97
|
-
Access-Control-Max-Age:
|
98
|
-
- '600'
|
99
|
-
Access-Control-Allow-Methods:
|
100
|
-
- GET, POST, PUT, DELETE, OPTIONS
|
101
|
-
Access-Control-Allow-Headers:
|
102
|
-
- Content-Type, x-requested-with
|
103
|
-
body:
|
104
|
-
encoding: UTF-8
|
105
|
-
string: |-
|
106
|
-
{
|
107
|
-
"member": {
|
108
|
-
"address": "integration_test_member_member@DOMAIN.TEST",
|
109
|
-
"name": "Jane Doe",
|
110
|
-
"subscribed": true,
|
111
|
-
"vars": {}
|
112
|
-
},
|
113
|
-
"message": "Mailing list member has been created"
|
114
|
-
}
|
115
|
-
http_version:
|
116
|
-
recorded_at: Fri, 08 Jan 2016 20:20:44 GMT
|
117
|
-
- request:
|
118
|
-
method: get
|
119
|
-
uri: https://api:<APIKEY>@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members/integration_test_member_member@DOMAIN.TEST
|
120
|
-
body:
|
121
|
-
encoding: US-ASCII
|
122
|
-
string: ''
|
123
|
-
headers:
|
124
|
-
Accept:
|
125
|
-
- "*/*"
|
126
|
-
Accept-Encoding:
|
127
|
-
- gzip, deflate
|
128
|
-
User-Agent:
|
129
|
-
- Ruby
|
130
|
-
response:
|
131
|
-
status:
|
132
|
-
code: 200
|
133
|
-
message: OK
|
134
|
-
headers:
|
135
|
-
Server:
|
136
|
-
- nginx
|
137
|
-
Date:
|
138
|
-
- Fri, 08 Jan 2016 20:20:43 GMT
|
139
|
-
Content-Type:
|
140
|
-
- application/json
|
141
|
-
Content-Length:
|
142
|
-
- '180'
|
143
|
-
Connection:
|
144
|
-
- keep-alive
|
145
|
-
Content-Disposition:
|
146
|
-
- inline
|
147
|
-
Access-Control-Allow-Origin:
|
148
|
-
- "*"
|
149
|
-
Access-Control-Max-Age:
|
150
|
-
- '600'
|
151
|
-
Access-Control-Allow-Methods:
|
152
|
-
- GET, POST, PUT, DELETE, OPTIONS
|
153
|
-
Access-Control-Allow-Headers:
|
154
|
-
- Content-Type, x-requested-with
|
155
|
-
body:
|
156
|
-
encoding: UTF-8
|
157
|
-
string: |-
|
158
|
-
{
|
159
|
-
"member": {
|
160
|
-
"address": "integration_test_member_member@DOMAIN.TEST",
|
161
|
-
"name": "Jane Doe",
|
162
|
-
"subscribed": true,
|
163
|
-
"vars": {}
|
164
|
-
}
|
165
|
-
}
|
166
|
-
http_version:
|
167
|
-
recorded_at: Fri, 08 Jan 2016 20:20:44 GMT
|
168
|
-
- request:
|
169
|
-
method: put
|
170
|
-
uri: https://api:<APIKEY>@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members/integration_test_member_member@DOMAIN.TEST
|
171
|
-
body:
|
172
|
-
encoding: US-ASCII
|
173
|
-
string: name=Jane%20Doe%20Update&subscribed=false
|
174
|
-
headers:
|
175
|
-
Accept:
|
176
|
-
- "*/*; q=0.5, application/xml"
|
177
|
-
Accept-Encoding:
|
178
|
-
- gzip, deflate
|
179
|
-
Content-Length:
|
180
|
-
- '41'
|
181
|
-
Content-Type:
|
182
|
-
- application/x-www-form-urlencoded
|
183
|
-
User-Agent:
|
184
|
-
- Ruby
|
185
|
-
response:
|
186
|
-
status:
|
187
|
-
code: 200
|
188
|
-
message: OK
|
189
|
-
headers:
|
190
|
-
Server:
|
191
|
-
- nginx
|
192
|
-
Date:
|
193
|
-
- Fri, 08 Jan 2016 20:20:44 GMT
|
194
|
-
Content-Type:
|
195
|
-
- application/json
|
196
|
-
Content-Length:
|
197
|
-
- '241'
|
198
|
-
Connection:
|
199
|
-
- keep-alive
|
200
|
-
Content-Disposition:
|
201
|
-
- inline
|
202
|
-
Access-Control-Allow-Origin:
|
203
|
-
- "*"
|
204
|
-
Access-Control-Max-Age:
|
205
|
-
- '600'
|
206
|
-
Access-Control-Allow-Methods:
|
207
|
-
- GET, POST, PUT, DELETE, OPTIONS
|
208
|
-
Access-Control-Allow-Headers:
|
209
|
-
- Content-Type, x-requested-with
|
210
|
-
body:
|
211
|
-
encoding: UTF-8
|
212
|
-
string: |-
|
213
|
-
{
|
214
|
-
"member": {
|
215
|
-
"address": "integration_test_member_member@DOMAIN.TEST",
|
216
|
-
"name": "Jane Doe Update",
|
217
|
-
"subscribed": false,
|
218
|
-
"vars": {}
|
219
|
-
},
|
220
|
-
"message": "Mailing list member has been updated"
|
221
|
-
}
|
222
|
-
http_version:
|
223
|
-
recorded_at: Fri, 08 Jan 2016 20:20:44 GMT
|
224
|
-
- request:
|
225
|
-
method: delete
|
226
|
-
uri: https://api:<APIKEY>@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members/integration_test_member_member@DOMAIN.TEST
|
227
|
-
body:
|
228
|
-
encoding: US-ASCII
|
229
|
-
string: ''
|
230
|
-
headers:
|
231
|
-
Accept:
|
232
|
-
- "*/*; q=0.5, application/xml"
|
233
|
-
Accept-Encoding:
|
234
|
-
- gzip, deflate
|
235
|
-
User-Agent:
|
236
|
-
- Ruby
|
237
|
-
response:
|
238
|
-
status:
|
239
|
-
code: 200
|
240
|
-
message: OK
|
241
|
-
headers:
|
242
|
-
Server:
|
243
|
-
- nginx
|
244
|
-
Date:
|
245
|
-
- Fri, 08 Jan 2016 20:20:44 GMT
|
246
|
-
Content-Type:
|
247
|
-
- application/json
|
248
|
-
Content-Length:
|
249
|
-
- '169'
|
250
|
-
Connection:
|
251
|
-
- keep-alive
|
252
|
-
Content-Disposition:
|
253
|
-
- inline
|
254
|
-
Access-Control-Allow-Origin:
|
255
|
-
- "*"
|
256
|
-
Access-Control-Max-Age:
|
257
|
-
- '600'
|
258
|
-
Access-Control-Allow-Methods:
|
259
|
-
- GET, POST, PUT, DELETE, OPTIONS
|
260
|
-
Access-Control-Allow-Headers:
|
261
|
-
- Content-Type, x-requested-with
|
262
|
-
body:
|
263
|
-
encoding: UTF-8
|
264
|
-
string: |-
|
265
|
-
{
|
266
|
-
"member": {
|
267
|
-
"address": "integration_test_member_member@DOMAIN.TEST"
|
268
|
-
},
|
269
|
-
"message": "Mailing list member has been deleted"
|
270
|
-
}
|
271
|
-
http_version:
|
272
|
-
recorded_at: Fri, 08 Jan 2016 20:20:44 GMT
|
273
|
-
- request:
|
274
|
-
method: delete
|
275
|
-
uri: https://api:<APIKEY>@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST
|
276
|
-
body:
|
277
|
-
encoding: US-ASCII
|
278
|
-
string: ''
|
279
|
-
headers:
|
280
|
-
Accept:
|
281
|
-
- "*/*; q=0.5, application/xml"
|
282
|
-
Accept-Encoding:
|
283
|
-
- gzip, deflate
|
284
|
-
User-Agent:
|
285
|
-
- Ruby
|
286
|
-
response:
|
287
|
-
status:
|
288
|
-
code: 200
|
289
|
-
message: OK
|
290
|
-
headers:
|
291
|
-
Server:
|
292
|
-
- nginx
|
293
|
-
Date:
|
294
|
-
- Fri, 08 Jan 2016 20:20:44 GMT
|
295
|
-
Content-Type:
|
296
|
-
- application/json
|
297
|
-
Content-Length:
|
298
|
-
- '133'
|
299
|
-
Connection:
|
300
|
-
- keep-alive
|
301
|
-
Content-Disposition:
|
302
|
-
- inline
|
303
|
-
Access-Control-Allow-Origin:
|
304
|
-
- "*"
|
305
|
-
Access-Control-Max-Age:
|
306
|
-
- '600'
|
307
|
-
Access-Control-Allow-Methods:
|
308
|
-
- GET, POST, PUT, DELETE, OPTIONS
|
309
|
-
Access-Control-Allow-Headers:
|
310
|
-
- Content-Type, x-requested-with
|
311
|
-
body:
|
312
|
-
encoding: UTF-8
|
313
|
-
string: |-
|
314
|
-
{
|
315
|
-
"address": "integration_test_list@DOMAIN.TEST",
|
316
|
-
"message": "Mailing list has been removed"
|
317
|
-
}
|
318
|
-
http_version:
|
319
|
-
recorded_at: Fri, 08 Jan 2016 20:20:45 GMT
|
320
3
|
- request:
|
321
4
|
method: post
|
322
5
|
uri: https://api.mailgun.net/v3/lists
|
323
6
|
body:
|
324
7
|
encoding: UTF-8
|
325
|
-
string: access_level=members&address=integration_test_list%
|
8
|
+
string: access_level=members&address=integration_test_list%40&description=This+list+should+be+deleted+automatically.&name=Integration+Test+List
|
326
9
|
headers:
|
327
10
|
User-Agent:
|
328
|
-
- mailgun-sdk-ruby/1.3.
|
11
|
+
- mailgun-sdk-ruby/1.3.2
|
329
12
|
Accept:
|
330
13
|
- "*/*"
|
331
14
|
Authorization:
|
332
|
-
- Basic xxx
|
15
|
+
- Basic xxx
|
333
16
|
Content-Type:
|
334
17
|
- application/x-www-form-urlencoded
|
335
18
|
Accept-Encoding:
|
@@ -345,20 +28,18 @@ http_interactions:
|
|
345
28
|
- "*"
|
346
29
|
Cache-Control:
|
347
30
|
- no-store
|
348
|
-
Content-Disposition:
|
349
|
-
- inline
|
350
31
|
Content-Length:
|
351
|
-
- '
|
32
|
+
- '70'
|
352
33
|
Content-Type:
|
353
34
|
- application/json
|
354
35
|
Date:
|
355
|
-
-
|
36
|
+
- Wed, 26 Feb 2025 18:55:07 GMT
|
356
37
|
Server:
|
357
|
-
- TwistedWeb/
|
38
|
+
- TwistedWeb/22.10.0
|
358
39
|
Strict-Transport-Security:
|
359
40
|
- max-age=63072000; includeSubDomains
|
360
41
|
X-Mailgun-Key-Id:
|
361
|
-
-
|
42
|
+
- c02fd0ba-d8dbad66
|
362
43
|
X-Xss-Protection:
|
363
44
|
- 1; mode=block
|
364
45
|
body:
|
@@ -367,7 +48,7 @@ http_interactions:
|
|
367
48
|
{
|
368
49
|
"list": {
|
369
50
|
"access_level": "members",
|
370
|
-
"address": "integration_test_list@
|
51
|
+
"address": "integration_test_list@",
|
371
52
|
"created_at": "Sun, 26 Jan 2025 07:29:23 -0000",
|
372
53
|
"description": "This list should be deleted automatically.",
|
373
54
|
"members_count": 0,
|
@@ -377,20 +58,20 @@ http_interactions:
|
|
377
58
|
"message": "Mailing list has been created"
|
378
59
|
}
|
379
60
|
http_version:
|
380
|
-
recorded_at:
|
61
|
+
recorded_at: Wed, 26 Feb 2025 18:55:07 GMT
|
381
62
|
- request:
|
382
63
|
method: post
|
383
|
-
uri: https://api.mailgun.net/v3/lists/integration_test_list
|
64
|
+
uri: https://api.mailgun.net/v3/lists/integration_test_list@/members
|
384
65
|
body:
|
385
66
|
encoding: UTF-8
|
386
|
-
string: address=integration_test_member_member%
|
67
|
+
string: address=integration_test_member_member%40&name=Jane+Doe&subscribed=true&upsert=no
|
387
68
|
headers:
|
388
69
|
User-Agent:
|
389
|
-
- mailgun-sdk-ruby/1.3.
|
70
|
+
- mailgun-sdk-ruby/1.3.2
|
390
71
|
Accept:
|
391
72
|
- "*/*"
|
392
73
|
Authorization:
|
393
|
-
- Basic xxx
|
74
|
+
- Basic xxx
|
394
75
|
Content-Type:
|
395
76
|
- application/x-www-form-urlencoded
|
396
77
|
Accept-Encoding:
|
@@ -406,20 +87,18 @@ http_interactions:
|
|
406
87
|
- "*"
|
407
88
|
Cache-Control:
|
408
89
|
- no-store
|
409
|
-
Content-Disposition:
|
410
|
-
- inline
|
411
90
|
Content-Length:
|
412
|
-
- '
|
91
|
+
- '70'
|
413
92
|
Content-Type:
|
414
93
|
- application/json
|
415
94
|
Date:
|
416
|
-
-
|
95
|
+
- Wed, 26 Feb 2025 18:55:08 GMT
|
417
96
|
Server:
|
418
|
-
- TwistedWeb/
|
97
|
+
- TwistedWeb/22.10.0
|
419
98
|
Strict-Transport-Security:
|
420
99
|
- max-age=63072000; includeSubDomains
|
421
100
|
X-Mailgun-Key-Id:
|
422
|
-
-
|
101
|
+
- c02fd0ba-d8dbad66
|
423
102
|
X-Xss-Protection:
|
424
103
|
- 1; mode=block
|
425
104
|
body:
|
@@ -427,7 +106,7 @@ http_interactions:
|
|
427
106
|
string: |-
|
428
107
|
{
|
429
108
|
"member": {
|
430
|
-
"address": "integration_test_member_member@
|
109
|
+
"address": "integration_test_member_member@",
|
431
110
|
"name": "Jane Doe",
|
432
111
|
"subscribed": true,
|
433
112
|
"vars": {}
|
@@ -435,20 +114,20 @@ http_interactions:
|
|
435
114
|
"message": "Mailing list member has been created"
|
436
115
|
}
|
437
116
|
http_version:
|
438
|
-
recorded_at:
|
117
|
+
recorded_at: Wed, 26 Feb 2025 18:55:08 GMT
|
439
118
|
- request:
|
440
119
|
method: get
|
441
|
-
uri: https://api.mailgun.net/v3/lists/integration_test_list
|
120
|
+
uri: https://api.mailgun.net/v3/lists/integration_test_list@/members/integration_test_member_member@
|
442
121
|
body:
|
443
122
|
encoding: US-ASCII
|
444
123
|
string: ''
|
445
124
|
headers:
|
446
125
|
User-Agent:
|
447
|
-
- mailgun-sdk-ruby/1.3.
|
126
|
+
- mailgun-sdk-ruby/1.3.2
|
448
127
|
Accept:
|
449
128
|
- "*/*"
|
450
129
|
Authorization:
|
451
|
-
- Basic xxx
|
130
|
+
- Basic xxx
|
452
131
|
Accept-Encoding:
|
453
132
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
454
133
|
response:
|
@@ -462,20 +141,18 @@ http_interactions:
|
|
462
141
|
- "*"
|
463
142
|
Cache-Control:
|
464
143
|
- no-store
|
465
|
-
Content-Disposition:
|
466
|
-
- inline
|
467
144
|
Content-Length:
|
468
|
-
- '
|
145
|
+
- '60'
|
469
146
|
Content-Type:
|
470
147
|
- application/json
|
471
148
|
Date:
|
472
|
-
-
|
149
|
+
- Wed, 26 Feb 2025 18:55:09 GMT
|
473
150
|
Server:
|
474
|
-
- TwistedWeb/
|
151
|
+
- TwistedWeb/22.10.0
|
475
152
|
Strict-Transport-Security:
|
476
153
|
- max-age=63072000; includeSubDomains
|
477
154
|
X-Mailgun-Key-Id:
|
478
|
-
-
|
155
|
+
- c02fd0ba-d8dbad66
|
479
156
|
X-Xss-Protection:
|
480
157
|
- 1; mode=block
|
481
158
|
body:
|
@@ -483,27 +160,27 @@ http_interactions:
|
|
483
160
|
string: |-
|
484
161
|
{
|
485
162
|
"member": {
|
486
|
-
"address": "integration_test_member_member@
|
163
|
+
"address": "integration_test_member_member@",
|
487
164
|
"name": "Jane Doe",
|
488
165
|
"subscribed": true,
|
489
166
|
"vars": {}
|
490
167
|
}
|
491
168
|
}
|
492
169
|
http_version:
|
493
|
-
recorded_at:
|
170
|
+
recorded_at: Wed, 26 Feb 2025 18:55:09 GMT
|
494
171
|
- request:
|
495
172
|
method: put
|
496
|
-
uri: https://api.mailgun.net/v3/lists/integration_test_list
|
173
|
+
uri: https://api.mailgun.net/v3/lists/integration_test_list@/members/integration_test_member_member@
|
497
174
|
body:
|
498
175
|
encoding: UTF-8
|
499
176
|
string: name=Jane+Doe+Update&subscribed=false
|
500
177
|
headers:
|
501
178
|
User-Agent:
|
502
|
-
- mailgun-sdk-ruby/1.3.
|
179
|
+
- mailgun-sdk-ruby/1.3.2
|
503
180
|
Accept:
|
504
181
|
- "*/*"
|
505
182
|
Authorization:
|
506
|
-
- Basic xxx
|
183
|
+
- Basic xxx
|
507
184
|
Content-Type:
|
508
185
|
- application/x-www-form-urlencoded
|
509
186
|
Accept-Encoding:
|
@@ -519,20 +196,18 @@ http_interactions:
|
|
519
196
|
- "*"
|
520
197
|
Cache-Control:
|
521
198
|
- no-store
|
522
|
-
Content-Disposition:
|
523
|
-
- inline
|
524
199
|
Content-Length:
|
525
|
-
- '
|
200
|
+
- '60'
|
526
201
|
Content-Type:
|
527
202
|
- application/json
|
528
203
|
Date:
|
529
|
-
-
|
204
|
+
- Wed, 26 Feb 2025 18:55:09 GMT
|
530
205
|
Server:
|
531
|
-
- TwistedWeb/
|
206
|
+
- TwistedWeb/22.10.0
|
532
207
|
Strict-Transport-Security:
|
533
208
|
- max-age=63072000; includeSubDomains
|
534
209
|
X-Mailgun-Key-Id:
|
535
|
-
-
|
210
|
+
- c02fd0ba-d8dbad66
|
536
211
|
X-Xss-Protection:
|
537
212
|
- 1; mode=block
|
538
213
|
body:
|
@@ -540,7 +215,7 @@ http_interactions:
|
|
540
215
|
string: |-
|
541
216
|
{
|
542
217
|
"member": {
|
543
|
-
"address": "integration_test_member_member@
|
218
|
+
"address": "integration_test_member_member@",
|
544
219
|
"name": "Jane Doe Update",
|
545
220
|
"subscribed": false,
|
546
221
|
"vars": {}
|
@@ -548,20 +223,20 @@ http_interactions:
|
|
548
223
|
"message": "Mailing list member has been updated"
|
549
224
|
}
|
550
225
|
http_version:
|
551
|
-
recorded_at:
|
226
|
+
recorded_at: Wed, 26 Feb 2025 18:55:09 GMT
|
552
227
|
- request:
|
553
228
|
method: delete
|
554
|
-
uri: https://api.mailgun.net/v3/lists/integration_test_list
|
229
|
+
uri: https://api.mailgun.net/v3/lists/integration_test_list@/members/integration_test_member_member@
|
555
230
|
body:
|
556
231
|
encoding: US-ASCII
|
557
232
|
string: ''
|
558
233
|
headers:
|
559
234
|
User-Agent:
|
560
|
-
- mailgun-sdk-ruby/1.3.
|
235
|
+
- mailgun-sdk-ruby/1.3.2
|
561
236
|
Accept:
|
562
237
|
- "*/*"
|
563
238
|
Authorization:
|
564
|
-
- Basic xxx
|
239
|
+
- Basic xxx
|
565
240
|
Accept-Encoding:
|
566
241
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
567
242
|
response:
|
@@ -578,72 +253,69 @@ http_interactions:
|
|
578
253
|
Content-Disposition:
|
579
254
|
- inline
|
580
255
|
Content-Length:
|
581
|
-
- '
|
256
|
+
- '88'
|
582
257
|
Content-Type:
|
583
258
|
- application/json
|
584
259
|
Date:
|
585
|
-
-
|
260
|
+
- Wed, 26 Feb 2025 19:35:10 GMT
|
586
261
|
Server:
|
587
|
-
- TwistedWeb/
|
262
|
+
- TwistedWeb/22.10.0
|
588
263
|
Strict-Transport-Security:
|
589
264
|
- max-age=63072000; includeSubDomains
|
590
265
|
X-Mailgun-Key-Id:
|
591
|
-
-
|
266
|
+
- c02fd0ba-d8dbad66
|
592
267
|
X-Xss-Protection:
|
593
268
|
- 1; mode=block
|
594
269
|
body:
|
595
270
|
encoding: UTF-8
|
596
|
-
string:
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
},
|
601
|
-
"message": "Mailing list member has been deleted"
|
602
|
-
}
|
271
|
+
string: '{"member":{"address":"integration_test_member_member@"},"message":"Mailing list member
|
272
|
+
has been deleted"}
|
273
|
+
|
274
|
+
'
|
603
275
|
http_version:
|
604
|
-
recorded_at:
|
276
|
+
recorded_at: Wed, 26 Feb 2025 19:35:11 GMT
|
605
277
|
- request:
|
606
278
|
method: delete
|
607
|
-
uri: https://api.mailgun.net/v3/lists/integration_test_list@
|
279
|
+
uri: https://api.mailgun.net/v3/lists/integration_test_list@
|
608
280
|
body:
|
609
281
|
encoding: US-ASCII
|
610
282
|
string: ''
|
611
283
|
headers:
|
612
284
|
User-Agent:
|
613
|
-
|
285
|
+
- mailgun-sdk-ruby/1.3.0
|
614
286
|
Accept:
|
615
|
-
|
287
|
+
- "*/*"
|
616
288
|
Authorization:
|
617
|
-
|
289
|
+
- Basic xxx==
|
618
290
|
Accept-Encoding:
|
619
|
-
|
291
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
620
292
|
response:
|
621
293
|
status:
|
622
294
|
code: 200
|
623
295
|
message: OK
|
624
296
|
headers:
|
625
297
|
Access-Control-Allow-Credentials:
|
626
|
-
|
298
|
+
- 'true'
|
627
299
|
Access-Control-Allow-Origin:
|
628
|
-
|
300
|
+
- "*"
|
629
301
|
Cache-Control:
|
630
|
-
|
302
|
+
- no-store
|
631
303
|
Content-Disposition:
|
632
|
-
|
304
|
+
- inline
|
633
305
|
Content-Length:
|
634
|
-
|
306
|
+
- '138'
|
635
307
|
Content-Type:
|
636
|
-
|
308
|
+
- application/json
|
637
309
|
Date:
|
638
|
-
|
310
|
+
- Sun, 26 Jan 2025 07:29:26 GMT
|
639
311
|
Server:
|
640
|
-
|
312
|
+
- TwistedWeb/20.3.0
|
641
313
|
Strict-Transport-Security:
|
642
|
-
|
314
|
+
- max-age=63072000; includeSubDomains
|
643
315
|
X-Mailgun-Key-Id:
|
644
|
-
|
316
|
+
- 90b59dea-f2d12a53
|
645
317
|
X-Xss-Protection:
|
646
|
-
|
318
|
+
- 1; mode=block
|
647
319
|
body:
|
648
320
|
encoding: UTF-8
|
649
321
|
string: |-
|
@@ -652,5 +324,5 @@ http_interactions:
|
|
652
324
|
"message": "Mailing list has been removed"
|
653
325
|
}
|
654
326
|
http_version:
|
655
|
-
recorded_at:
|
327
|
+
recorded_at: Wed, 26 Feb 2025 19:35:11 GMT
|
656
328
|
recorded_with: VCR 3.0.3
|