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.
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces
5
+ uri: https://api.mailgun.net/bounces
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '[{"address":"test4@example.info","code":"500","error":"integration
@@ -11,738 +11,142 @@ http_interactions:
11
11
  testing"},{"address":"test1@example.com","code":"500","error":"integration
12
12
  testing"}]'
13
13
  headers:
14
- Accept:
15
- - "*/*"
16
- Accept-Encoding:
17
- - gzip, deflate
18
14
  User-Agent:
19
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
20
- Content-Type:
21
- - application/json
22
- Content-Length:
23
- - '302'
24
- Host:
25
- - api.mailgun.net
26
- response:
27
- status:
28
- code: 200
29
- message: OK
30
- headers:
31
- Server:
32
- - nginx
33
- Date:
34
- - Wed, 30 Nov 2016 20:51:44 GMT
35
- Content-Type:
36
- - application/json; charset=utf-8
37
- Content-Length:
38
- - '62'
39
- Connection:
40
- - keep-alive
41
- Access-Control-Allow-Origin:
42
- - "*"
43
- Access-Control-Max-Age:
44
- - '600'
45
- Access-Control-Allow-Methods:
46
- - GET, POST, PUT, DELETE, OPTIONS
47
- Access-Control-Allow-Headers:
48
- - Content-Type, x-requested-with
49
- body:
50
- encoding: UTF-8
51
- string: '{"message":"4 addresses have been added to the bounces table"}'
52
- http_version:
53
- recorded_at: Wed, 30 Nov 2016 20:53:49 GMT
54
- - request:
55
- method: delete
56
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces/test1@example.com
57
- body:
58
- encoding: US-ASCII
59
- string: ''
60
- headers:
15
+ - mailgun-sdk-ruby/1.3.2
61
16
  Accept:
62
17
  - "*/*"
63
- Accept-Encoding:
64
- - gzip, deflate
65
- User-Agent:
66
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
67
- Host:
68
- - api.mailgun.net
69
- response:
70
- status:
71
- code: 200
72
- message: OK
73
- headers:
74
- Server:
75
- - nginx
76
- Date:
77
- - Wed, 30 Nov 2016 20:51:44 GMT
78
- Content-Type:
79
- - application/json; charset=utf-8
80
- Content-Length:
81
- - '76'
82
- Connection:
83
- - keep-alive
84
- Access-Control-Allow-Origin:
85
- - "*"
86
- Access-Control-Max-Age:
87
- - '600'
88
- Access-Control-Allow-Methods:
89
- - GET, POST, PUT, DELETE, OPTIONS
90
- Access-Control-Allow-Headers:
91
- - Content-Type, x-requested-with
92
- body:
93
- encoding: UTF-8
94
- string: '{"address":"test1@example.com","message":"Bounced address has been
95
- removed"}'
96
- http_version:
97
- recorded_at: Wed, 30 Nov 2016 20:53:49 GMT
98
- - request:
99
- method: delete
100
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces/test2@example.org
101
- body:
102
- encoding: US-ASCII
103
- string: ''
104
- headers:
105
- Accept:
106
- - "*/*"
107
- Accept-Encoding:
108
- - gzip, deflate
109
- User-Agent:
110
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
111
- Host:
112
- - api.mailgun.net
113
- response:
114
- status:
115
- code: 200
116
- message: OK
117
- headers:
118
- Server:
119
- - nginx
120
- Date:
121
- - Wed, 30 Nov 2016 20:51:44 GMT
122
- Content-Type:
123
- - application/json; charset=utf-8
124
- Content-Length:
125
- - '76'
126
- Connection:
127
- - keep-alive
128
- Access-Control-Allow-Origin:
129
- - "*"
130
- Access-Control-Max-Age:
131
- - '600'
132
- Access-Control-Allow-Methods:
133
- - GET, POST, PUT, DELETE, OPTIONS
134
- Access-Control-Allow-Headers:
135
- - Content-Type, x-requested-with
136
- body:
137
- encoding: UTF-8
138
- string: '{"address":"test2@example.org","message":"Bounced address has been
139
- removed"}'
140
- http_version:
141
- recorded_at: Wed, 30 Nov 2016 20:53:50 GMT
142
- - request:
143
- method: delete
144
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces/test3@example.net
145
- body:
146
- encoding: US-ASCII
147
- string: ''
148
- headers:
149
- Accept:
150
- - "*/*"
151
- Accept-Encoding:
152
- - gzip, deflate
153
- User-Agent:
154
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
155
- Host:
156
- - api.mailgun.net
157
- response:
158
- status:
159
- code: 200
160
- message: OK
161
- headers:
162
- Server:
163
- - nginx
164
- Date:
165
- - Wed, 30 Nov 2016 20:51:45 GMT
166
- Content-Type:
167
- - application/json; charset=utf-8
168
- Content-Length:
169
- - '76'
170
- Connection:
171
- - keep-alive
172
- Access-Control-Allow-Origin:
173
- - "*"
174
- Access-Control-Max-Age:
175
- - '600'
176
- Access-Control-Allow-Methods:
177
- - GET, POST, PUT, DELETE, OPTIONS
178
- Access-Control-Allow-Headers:
179
- - Content-Type, x-requested-with
180
- body:
181
- encoding: UTF-8
182
- string: '{"address":"test3@example.net","message":"Bounced address has been
183
- removed"}'
184
- http_version:
185
- recorded_at: Wed, 30 Nov 2016 20:53:50 GMT
186
- - request:
187
- method: delete
188
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces/test4@example.info
189
- body:
190
- encoding: US-ASCII
191
- string: ''
192
- headers:
193
- Accept:
194
- - "*/*"
195
- Accept-Encoding:
196
- - gzip, deflate
197
- User-Agent:
198
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
199
- Host:
200
- - api.mailgun.net
201
- response:
202
- status:
203
- code: 200
204
- message: OK
205
- headers:
206
- Server:
207
- - nginx
208
- Date:
209
- - Wed, 30 Nov 2016 20:51:45 GMT
210
- Content-Type:
211
- - application/json; charset=utf-8
212
- Content-Length:
213
- - '77'
214
- Connection:
215
- - keep-alive
216
- Access-Control-Allow-Origin:
217
- - "*"
218
- Access-Control-Max-Age:
219
- - '600'
220
- Access-Control-Allow-Methods:
221
- - GET, POST, PUT, DELETE, OPTIONS
222
- Access-Control-Allow-Headers:
223
- - Content-Type, x-requested-with
224
- body:
225
- encoding: UTF-8
226
- string: '{"address":"test4@example.info","message":"Bounced address has been
227
- removed"}'
228
- http_version:
229
- recorded_at: Wed, 30 Nov 2016 20:53:50 GMT
230
- - request:
231
- method: post
232
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes
233
- body:
234
- encoding: UTF-8
235
- string: '[{"address":"test4@example.info","tag":"Tools"},{"address":"test3@example.net","tag":"Garden
236
- & Automotive"},{"address":"test2@example.org","tag":"Toys, Jewelry & Kids"},{"address":"test1@example.com","tag":"Outdoors,
237
- Books & Shoes"}]'
238
- headers:
239
- Accept:
240
- - "*/*"
241
- Accept-Encoding:
242
- - gzip, deflate
243
- User-Agent:
244
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
245
18
  Content-Type:
246
19
  - application/json
247
- Content-Length:
248
- - '233'
249
- Host:
250
- - api.mailgun.net
251
- response:
252
- status:
253
- code: 200
254
- message: OK
255
- headers:
256
- Server:
257
- - nginx
258
- Date:
259
- - Wed, 30 Nov 2016 20:51:45 GMT
260
- Content-Type:
261
- - application/json; charset=utf-8
262
- Content-Length:
263
- - '67'
264
- Connection:
265
- - keep-alive
266
- Access-Control-Allow-Origin:
267
- - "*"
268
- Access-Control-Max-Age:
269
- - '600'
270
- Access-Control-Allow-Methods:
271
- - GET, POST, PUT, DELETE, OPTIONS
272
- Access-Control-Allow-Headers:
273
- - Content-Type, x-requested-with
274
- body:
275
- encoding: UTF-8
276
- string: '{"message":"4 addresses have been added to the unsubscribes table"}'
277
- http_version:
278
- recorded_at: Wed, 30 Nov 2016 20:53:51 GMT
279
- - request:
280
- method: delete
281
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test1@example.com
282
- body:
283
- encoding: US-ASCII
284
- string: ''
285
- headers:
286
- Accept:
287
- - "*/*"
20
+ Authorization:
21
+ - Basic xxx
288
22
  Accept-Encoding:
289
- - gzip, deflate
290
- User-Agent:
291
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
292
- Host:
293
- - api.mailgun.net
23
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
294
24
  response:
295
25
  status:
296
26
  code: 200
297
27
  message: OK
298
28
  headers:
299
- Server:
300
- - nginx
301
29
  Date:
302
- - Wed, 30 Nov 2016 20:51:46 GMT
303
- Content-Type:
304
- - application/json; charset=utf-8
30
+ - Tue, 25 Feb 2025 00:26:17 GMT
305
31
  Content-Length:
306
- - '78'
307
- Connection:
308
- - keep-alive
309
- Access-Control-Allow-Origin:
310
- - "*"
311
- Access-Control-Max-Age:
312
- - '600'
313
- Access-Control-Allow-Methods:
314
- - GET, POST, PUT, DELETE, OPTIONS
315
- Access-Control-Allow-Headers:
316
- - Content-Type, x-requested-with
32
+ - '0'
317
33
  body:
318
34
  encoding: UTF-8
319
- string: '{"address":"test1@example.com","message":"Unsubscribe event has been
320
- removed"}'
35
+ string: '{"message":"4 addresses have been added to the bounces table"}'
321
36
  http_version:
322
- recorded_at: Wed, 30 Nov 2016 20:53:51 GMT
37
+ recorded_at: Tue, 25 Feb 2025 00:26:17 GMT
323
38
  - request:
324
39
  method: delete
325
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test2@example.org
40
+ uri: https://api.mailgun.net/bounces/test1@example.com
326
41
  body:
327
42
  encoding: US-ASCII
328
43
  string: ''
329
44
  headers:
330
- Accept:
331
- - "*/*"
332
- Accept-Encoding:
333
- - gzip, deflate
334
45
  User-Agent:
335
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
336
- Host:
337
- - api.mailgun.net
338
- response:
339
- status:
340
- code: 200
341
- message: OK
342
- headers:
343
- Server:
344
- - nginx
345
- Date:
346
- - Wed, 30 Nov 2016 20:51:46 GMT
347
- Content-Type:
348
- - application/json; charset=utf-8
349
- Content-Length:
350
- - '78'
351
- Connection:
352
- - keep-alive
353
- Access-Control-Allow-Origin:
354
- - "*"
355
- Access-Control-Max-Age:
356
- - '600'
357
- Access-Control-Allow-Methods:
358
- - GET, POST, PUT, DELETE, OPTIONS
359
- Access-Control-Allow-Headers:
360
- - Content-Type, x-requested-with
361
- body:
362
- encoding: UTF-8
363
- string: '{"address":"test2@example.org","message":"Unsubscribe event has been
364
- removed"}'
365
- http_version:
366
- recorded_at: Wed, 30 Nov 2016 20:53:51 GMT
367
- - request:
368
- method: delete
369
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test3@example.net
370
- body:
371
- encoding: US-ASCII
372
- string: ''
373
- headers:
46
+ - mailgun-sdk-ruby/1.3.2
374
47
  Accept:
375
48
  - "*/*"
49
+ Authorization:
50
+ - Basic xxx
376
51
  Accept-Encoding:
377
- - gzip, deflate
378
- User-Agent:
379
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
380
- Host:
381
- - api.mailgun.net
52
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
382
53
  response:
383
54
  status:
384
55
  code: 200
385
56
  message: OK
386
57
  headers:
387
- Server:
388
- - nginx
389
- Date:
390
- - Wed, 30 Nov 2016 20:51:46 GMT
391
58
  Content-Type:
392
- - application/json; charset=utf-8
393
- Content-Length:
394
- - '78'
395
- Connection:
396
- - keep-alive
397
- Access-Control-Allow-Origin:
398
- - "*"
399
- Access-Control-Max-Age:
400
- - '600'
401
- Access-Control-Allow-Methods:
402
- - GET, POST, PUT, DELETE, OPTIONS
403
- Access-Control-Allow-Headers:
404
- - Content-Type, x-requested-with
405
- body:
406
- encoding: UTF-8
407
- string: '{"address":"test3@example.net","message":"Unsubscribe event has been
408
- removed"}'
409
- http_version:
410
- recorded_at: Wed, 30 Nov 2016 20:53:51 GMT
411
- - request:
412
- method: delete
413
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test4@example.info
414
- body:
415
- encoding: US-ASCII
416
- string: ''
417
- headers:
418
- Accept:
419
- - "*/*"
420
- Accept-Encoding:
421
- - gzip, deflate
422
- User-Agent:
423
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
424
- Host:
425
- - api.mailgun.net
426
- response:
427
- status:
428
- code: 200
429
- message: OK
430
- headers:
431
- Server:
432
- - nginx
59
+ - text/plain; charset=utf-8
60
+ X-Content-Type-Options:
61
+ - nosniff
433
62
  Date:
434
- - Wed, 30 Nov 2016 20:51:46 GMT
435
- Content-Type:
436
- - application/json; charset=utf-8
63
+ - Tue, 25 Feb 2025 00:26:18 GMT
437
64
  Content-Length:
438
- - '79'
439
- Connection:
440
- - keep-alive
441
- Access-Control-Allow-Origin:
442
- - "*"
443
- Access-Control-Max-Age:
444
- - '600'
445
- Access-Control-Allow-Methods:
446
- - GET, POST, PUT, DELETE, OPTIONS
447
- Access-Control-Allow-Headers:
448
- - Content-Type, x-requested-with
65
+ - '19'
449
66
  body:
450
67
  encoding: UTF-8
451
- string: '{"address":"test4@example.info","message":"Unsubscribe event has been
452
- removed"}'
68
+ string: '{"message":"Bounced address has been removed"}'
453
69
  http_version:
454
- recorded_at: Wed, 30 Nov 2016 20:53:52 GMT
70
+ recorded_at: Tue, 25 Feb 2025 00:26:18 GMT
455
71
  - request:
456
72
  method: post
457
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/complaints
73
+ uri: https://api.mailgun.net/unsubscribes
458
74
  body:
459
75
  encoding: UTF-8
460
- string: '[{"address":"test4@example.info"},{"address":"test3@example.net"},{"address":"test2@example.org"},{"address":"test1@example.com"}]'
461
- headers:
462
- Accept:
463
- - "*/*"
464
- Accept-Encoding:
465
- - gzip, deflate
466
- User-Agent:
467
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
468
- Content-Type:
469
- - application/json
470
- Content-Length:
471
- - '130'
472
- Host:
473
- - api.mailgun.net
474
- response:
475
- status:
476
- code: 200
477
- message: OK
478
- headers:
479
- Server:
480
- - nginx
481
- Date:
482
- - Wed, 30 Nov 2016 20:51:47 GMT
483
- Content-Type:
484
- - application/json; charset=utf-8
485
- Content-Length:
486
- - '75'
487
- Connection:
488
- - keep-alive
489
- Access-Control-Allow-Origin:
490
- - "*"
491
- Access-Control-Max-Age:
492
- - '600'
493
- Access-Control-Allow-Methods:
494
- - GET, POST, PUT, DELETE, OPTIONS
495
- Access-Control-Allow-Headers:
496
- - Content-Type, x-requested-with
497
- body:
498
- encoding: UTF-8
499
- string: '{"message":"4 complaint addresses have been added to the complaints
500
- table"}'
501
- http_version:
502
- recorded_at: Wed, 30 Nov 2016 20:53:52 GMT
503
- - request:
504
- method: delete
505
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/complaints/test1@example.com
506
- body:
507
- encoding: US-ASCII
508
- string: ''
76
+ string: '[{"address":"test4@example.info","tag":"integration"},{"address":"test3@example.net","tag":"integration"},{"address":"test2@example.org","tag":"integration"},{"address":"test1@example.com","tag":"integration"}]'
509
77
  headers:
510
- Accept:
511
- - "*/*"
512
- Accept-Encoding:
513
- - gzip, deflate
514
78
  User-Agent:
515
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
516
- Host:
517
- - api.mailgun.net
518
- response:
519
- status:
520
- code: 200
521
- message: OK
522
- headers:
523
- Server:
524
- - nginx
525
- Date:
526
- - Wed, 30 Nov 2016 20:51:47 GMT
527
- Content-Type:
528
- - application/json; charset=utf-8
529
- Content-Length:
530
- - '75'
531
- Connection:
532
- - keep-alive
533
- Access-Control-Allow-Origin:
534
- - "*"
535
- Access-Control-Max-Age:
536
- - '600'
537
- Access-Control-Allow-Methods:
538
- - GET, POST, PUT, DELETE, OPTIONS
539
- Access-Control-Allow-Headers:
540
- - Content-Type, x-requested-with
541
- body:
542
- encoding: UTF-8
543
- string: '{"address":"test1@example.com","message":"Spam complaint has been removed"}'
544
- http_version:
545
- recorded_at: Wed, 30 Nov 2016 20:53:52 GMT
546
- - request:
547
- method: delete
548
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/complaints/test2@example.org
549
- body:
550
- encoding: US-ASCII
551
- string: ''
552
- headers:
79
+ - mailgun-sdk-ruby/1.3.2
553
80
  Accept:
554
81
  - "*/*"
555
- Accept-Encoding:
556
- - gzip, deflate
557
- User-Agent:
558
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
559
- Host:
560
- - api.mailgun.net
561
- response:
562
- status:
563
- code: 200
564
- message: OK
565
- headers:
566
- Server:
567
- - nginx
568
- Date:
569
- - Wed, 30 Nov 2016 20:51:47 GMT
570
82
  Content-Type:
571
- - application/json; charset=utf-8
572
- Content-Length:
573
- - '75'
574
- Connection:
575
- - keep-alive
576
- Access-Control-Allow-Origin:
577
- - "*"
578
- Access-Control-Max-Age:
579
- - '600'
580
- Access-Control-Allow-Methods:
581
- - GET, POST, PUT, DELETE, OPTIONS
582
- Access-Control-Allow-Headers:
583
- - Content-Type, x-requested-with
584
- body:
585
- encoding: UTF-8
586
- string: '{"address":"test2@example.org","message":"Spam complaint has been removed"}'
587
- http_version:
588
- recorded_at: Wed, 30 Nov 2016 20:53:52 GMT
589
- - request:
590
- method: delete
591
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/complaints/test3@example.net
592
- body:
593
- encoding: US-ASCII
594
- string: ''
595
- headers:
596
- Accept:
597
- - "*/*"
83
+ - application/json
84
+ Authorization:
85
+ - Basic xxx
598
86
  Accept-Encoding:
599
- - gzip, deflate
600
- User-Agent:
601
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
602
- Host:
603
- - api.mailgun.net
87
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
604
88
  response:
605
89
  status:
606
90
  code: 200
607
91
  message: OK
608
92
  headers:
609
- Server:
610
- - nginx
611
93
  Date:
612
- - Wed, 30 Nov 2016 20:51:47 GMT
613
- Content-Type:
614
- - application/json; charset=utf-8
94
+ - Tue, 25 Feb 2025 00:26:18 GMT
615
95
  Content-Length:
616
- - '75'
617
- Connection:
618
- - keep-alive
619
- Access-Control-Allow-Origin:
620
- - "*"
621
- Access-Control-Max-Age:
622
- - '600'
623
- Access-Control-Allow-Methods:
624
- - GET, POST, PUT, DELETE, OPTIONS
625
- Access-Control-Allow-Headers:
626
- - Content-Type, x-requested-with
96
+ - '0'
627
97
  body:
628
98
  encoding: UTF-8
629
- string: '{"address":"test3@example.net","message":"Spam complaint has been removed"}'
99
+ string: '{"message":"4 addresses have been added to the unsubscribes table"}'
630
100
  http_version:
631
- recorded_at: Wed, 30 Nov 2016 20:53:53 GMT
101
+ recorded_at: Tue, 25 Feb 2025 00:26:18 GMT
632
102
  - request:
633
103
  method: delete
634
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/complaints/test4@example.info
104
+ uri: https://api.mailgun.net/unsubscribes/test1@example.com
635
105
  body:
636
106
  encoding: US-ASCII
637
107
  string: ''
638
108
  headers:
639
- Accept:
640
- - "*/*"
641
- Accept-Encoding:
642
- - gzip, deflate
643
109
  User-Agent:
644
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
645
- Host:
646
- - api.mailgun.net
647
- response:
648
- status:
649
- code: 200
650
- message: OK
651
- headers:
652
- Server:
653
- - nginx
654
- Date:
655
- - Wed, 30 Nov 2016 20:51:47 GMT
656
- Content-Type:
657
- - application/json; charset=utf-8
658
- Content-Length:
659
- - '76'
660
- Connection:
661
- - keep-alive
662
- Access-Control-Allow-Origin:
663
- - "*"
664
- Access-Control-Max-Age:
665
- - '600'
666
- Access-Control-Allow-Methods:
667
- - GET, POST, PUT, DELETE, OPTIONS
668
- Access-Control-Allow-Headers:
669
- - Content-Type, x-requested-with
670
- body:
671
- encoding: UTF-8
672
- string: '{"address":"test4@example.info","message":"Spam complaint has been
673
- removed"}'
674
- http_version:
675
- recorded_at: Wed, 30 Nov 2016 20:53:53 GMT
676
- - request:
677
- method: post
678
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes
679
- body:
680
- encoding: UTF-8
681
- string: '[{"address":"test4@example.info","tag":"integration"},{"address":"test3@example.net","tag":"integration"},{"address":"test2@example.org","tag":"integration"},{"address":"test1@example.com","tag":"integration"}]'
682
- headers:
110
+ - mailgun-sdk-ruby/1.3.2
683
111
  Accept:
684
112
  - "*/*"
113
+ Authorization:
114
+ - Basic xxx
685
115
  Accept-Encoding:
686
- - gzip, deflate
687
- User-Agent:
688
- - rest-client/2.0.2 (darwin18.7.0 x86_64) ruby/2.5.7p206
689
- Content-Type:
690
- - application/json
691
- Content-Length:
692
- - '210'
693
- Host:
694
- - api.mailgun.net
116
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
695
117
  response:
696
118
  status:
697
119
  code: 200
698
120
  message: OK
699
121
  headers:
700
- Access-Control-Allow-Headers:
701
- - Content-Type, x-requested-with
702
- Access-Control-Allow-Methods:
703
- - GET, POST, PUT, DELETE, OPTIONS
704
- Access-Control-Allow-Origin:
705
- - "*"
706
- Access-Control-Max-Age:
707
- - '600'
708
122
  Content-Type:
709
- - application/json; charset=utf-8
123
+ - text/plain; charset=utf-8
124
+ X-Content-Type-Options:
125
+ - nosniff
710
126
  Date:
711
- - Tue, 04 Feb 2020 15:16:07 GMT
712
- Server:
713
- - nginx
714
- Strict-Transport-Security:
715
- - max-age=63072000; includeSubDomains
127
+ - Tue, 25 Feb 2025 00:26:18 GMT
716
128
  Content-Length:
717
- - '68'
718
- Connection:
719
- - keep-alive
129
+ - '19'
720
130
  body:
721
131
  encoding: UTF-8
722
- string: '{"message":"4 addresses have been added to the unsubscribes table"}
723
-
724
- '
132
+ string: '{"message":"Unsubscribe event has been removed"}'
725
133
  http_version:
726
- recorded_at: Tue, 04 Feb 2020 15:16:07 GMT
134
+ recorded_at: Tue, 25 Feb 2025 00:26:18 GMT
727
135
  - request:
728
136
  method: post
729
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces
137
+ uri: https://api.mailgun.net/complaints
730
138
  body:
731
139
  encoding: UTF-8
732
- string: '[{"address":"test4@example.info","code":"500","error":"integration
733
- testing"},{"address":"test3@example.net","code":"500","error":"integration
734
- testing"},{"address":"test2@example.org","code":"500","error":"integration
735
- testing"},{"address":"test1@example.com","code":"500","error":"integration
736
- testing"}]'
140
+ string: '[{"address":"test4@example.info"},{"address":"test3@example.net"},{"address":"test2@example.org"},{"address":"test1@example.com"}]'
737
141
  headers:
738
142
  User-Agent:
739
- - mailgun-sdk-ruby/1.3.0
143
+ - mailgun-sdk-ruby/1.3.2
740
144
  Accept:
741
145
  - "*/*"
742
146
  Content-Type:
743
147
  - application/json
744
148
  Authorization:
745
- - Basic xxx==
149
+ - Basic xxx
746
150
  Accept-Encoding:
747
151
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
748
152
  response:
@@ -750,102 +154,29 @@ http_interactions:
750
154
  code: 200
751
155
  message: OK
752
156
  headers:
753
- Access-Control-Allow-Credentials:
754
- - 'true'
755
- Access-Control-Allow-Origin:
756
- - "*"
757
- Cache-Control:
758
- - no-store
759
- Content-Length:
760
- - '63'
761
- Content-Type:
762
- - application/json; charset=utf-8
763
157
  Date:
764
- - Sun, 26 Jan 2025 07:29:37 GMT
765
- Strict-Transport-Security:
766
- - max-age=63072000; includeSubDomains
767
- X-Mailgun-Key-Id:
768
- - 90b59dea-f2d12a53
769
- X-Request-Limit:
770
- - '2500'
771
- X-Request-Remaining:
772
- - '2499'
773
- X-Request-Reset:
774
- - '1737876591950'
775
- X-Xss-Protection:
776
- - 1; mode=block
777
- body:
778
- encoding: UTF-8
779
- string: '{"message":"4 addresses have been added to the bounces table"}
780
-
781
- '
782
- http_version:
783
- recorded_at: Sun, 26 Jan 2025 07:29:37 GMT
784
- - request:
785
- method: delete
786
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/test1@example.com
787
- body:
788
- encoding: US-ASCII
789
- string: ''
790
- headers:
791
- User-Agent:
792
- - mailgun-sdk-ruby/1.3.0
793
- Accept:
794
- - "*/*"
795
- Authorization:
796
- - Basic xxx==
797
- Accept-Encoding:
798
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
799
- response:
800
- status:
801
- code: 200
802
- message: OK
803
- headers:
804
- Access-Control-Allow-Credentials:
805
- - 'true'
806
- Access-Control-Allow-Origin:
807
- - "*"
808
- Cache-Control:
809
- - no-store
158
+ - Tue, 25 Feb 2025 00:26:19 GMT
810
159
  Content-Length:
811
- - '77'
812
- Content-Type:
813
- - application/json; charset=utf-8
814
- Date:
815
- - Sun, 26 Jan 2025 07:29:37 GMT
816
- Strict-Transport-Security:
817
- - max-age=63072000; includeSubDomains
818
- X-Mailgun-Key-Id:
819
- - 90b59dea-f2d12a53
820
- X-Request-Limit:
821
- - '2500'
822
- X-Request-Remaining:
823
- - '2498'
824
- X-Request-Reset:
825
- - '1737876591950'
826
- X-Xss-Protection:
827
- - 1; mode=block
160
+ - '0'
828
161
  body:
829
162
  encoding: UTF-8
830
- string: '{"address":"test1@example.com","message":"Bounced address has been
831
- removed"}
832
-
833
- '
163
+ string: '{"message":"4 complaint addresses have been added to the complaints
164
+ table"}'
834
165
  http_version:
835
- recorded_at: Sun, 26 Jan 2025 07:29:37 GMT
166
+ recorded_at: Tue, 25 Feb 2025 00:26:19 GMT
836
167
  - request:
837
168
  method: delete
838
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/test2@example.org
169
+ uri: https://api.mailgun.net/complaints/test1@example.com
839
170
  body:
840
171
  encoding: US-ASCII
841
172
  string: ''
842
173
  headers:
843
174
  User-Agent:
844
- - mailgun-sdk-ruby/1.3.0
175
+ - mailgun-sdk-ruby/1.3.2
845
176
  Accept:
846
177
  - "*/*"
847
178
  Authorization:
848
- - Basic xxx==
179
+ - Basic xxx
849
180
  Accept-Encoding:
850
181
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
851
182
  response:
@@ -853,103 +184,32 @@ http_interactions:
853
184
  code: 200
854
185
  message: OK
855
186
  headers:
856
- Access-Control-Allow-Credentials:
857
- - 'true'
858
- Access-Control-Allow-Origin:
859
- - "*"
860
- Cache-Control:
861
- - no-store
862
- Content-Length:
863
- - '77'
864
187
  Content-Type:
865
- - application/json; charset=utf-8
188
+ - text/plain; charset=utf-8
189
+ X-Content-Type-Options:
190
+ - nosniff
866
191
  Date:
867
- - Sun, 26 Jan 2025 07:29:38 GMT
868
- Strict-Transport-Security:
869
- - max-age=63072000; includeSubDomains
870
- X-Mailgun-Key-Id:
871
- - 90b59dea-f2d12a53
872
- X-Request-Limit:
873
- - '2500'
874
- X-Request-Remaining:
875
- - '2497'
876
- X-Request-Reset:
877
- - '1737876591950'
878
- X-Xss-Protection:
879
- - 1; mode=block
880
- body:
881
- encoding: UTF-8
882
- string: '{"address":"test2@example.org","message":"Bounced address has been
883
- removed"}
884
-
885
- '
886
- http_version:
887
- recorded_at: Sun, 26 Jan 2025 07:29:38 GMT
888
- - request:
889
- method: delete
890
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/test3@example.net
891
- body:
892
- encoding: US-ASCII
893
- string: ''
894
- headers:
895
- User-Agent:
896
- - mailgun-sdk-ruby/1.3.0
897
- Accept:
898
- - "*/*"
899
- Authorization:
900
- - Basic xxx==
901
- Accept-Encoding:
902
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
903
- response:
904
- status:
905
- code: 200
906
- message: OK
907
- headers:
908
- Access-Control-Allow-Credentials:
909
- - 'true'
910
- Access-Control-Allow-Origin:
911
- - "*"
912
- Cache-Control:
913
- - no-store
192
+ - Tue, 25 Feb 2025 00:26:19 GMT
914
193
  Content-Length:
915
- - '77'
916
- Content-Type:
917
- - application/json; charset=utf-8
918
- Date:
919
- - Sun, 26 Jan 2025 07:29:38 GMT
920
- Strict-Transport-Security:
921
- - max-age=63072000; includeSubDomains
922
- X-Mailgun-Key-Id:
923
- - 90b59dea-f2d12a53
924
- X-Request-Limit:
925
- - '2500'
926
- X-Request-Remaining:
927
- - '2496'
928
- X-Request-Reset:
929
- - '1737876591950'
930
- X-Xss-Protection:
931
- - 1; mode=block
194
+ - '19'
932
195
  body:
933
196
  encoding: UTF-8
934
- string: '{"address":"test3@example.net","message":"Bounced address has been
935
- removed"}
936
-
937
- '
197
+ string: '{"message":"Spam complaint has been removed"}'
938
198
  http_version:
939
- recorded_at: Sun, 26 Jan 2025 07:29:38 GMT
199
+ recorded_at: Tue, 25 Feb 2025 00:26:19 GMT
940
200
  - request:
941
201
  method: delete
942
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/test4@example.info
202
+ uri: https://api.mailgun.net/bounces/test2@example.org
943
203
  body:
944
204
  encoding: US-ASCII
945
205
  string: ''
946
206
  headers:
947
207
  User-Agent:
948
- - mailgun-sdk-ruby/1.3.0
208
+ - mailgun-sdk-ruby/1.3.2
949
209
  Accept:
950
210
  - "*/*"
951
211
  Authorization:
952
- - Basic xxx==
212
+ - Basic xxx
953
213
  Accept-Encoding:
954
214
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
955
215
  response:
@@ -957,208 +217,104 @@ http_interactions:
957
217
  code: 200
958
218
  message: OK
959
219
  headers:
960
- Access-Control-Allow-Credentials:
961
- - 'true'
962
- Access-Control-Allow-Origin:
963
- - "*"
964
- Cache-Control:
965
- - no-store
966
- Content-Length:
967
- - '78'
968
220
  Content-Type:
969
- - application/json; charset=utf-8
221
+ - text/plain; charset=utf-8
222
+ X-Content-Type-Options:
223
+ - nosniff
970
224
  Date:
971
- - Sun, 26 Jan 2025 07:29:39 GMT
972
- Strict-Transport-Security:
973
- - max-age=63072000; includeSubDomains
974
- X-Mailgun-Key-Id:
975
- - 90b59dea-f2d12a53
976
- X-Request-Limit:
977
- - '2500'
978
- X-Request-Remaining:
979
- - '2495'
980
- X-Request-Reset:
981
- - '1737876591950'
982
- X-Xss-Protection:
983
- - 1; mode=block
984
- body:
985
- encoding: UTF-8
986
- string: '{"address":"test4@example.info","message":"Bounced address has been
987
- removed"}
988
-
989
- '
990
- http_version:
991
- recorded_at: Sun, 26 Jan 2025 07:29:39 GMT
992
- - request:
993
- method: post
994
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes
995
- body:
996
- encoding: UTF-8
997
- string: '[{"address":"test4@example.info","tag":"integration"},{"address":"test3@example.net","tag":"integration"},{"address":"test2@example.org","tag":"integration"},{"address":"test1@example.com","tag":"integration"}]'
998
- headers:
999
- User-Agent:
1000
- - mailgun-sdk-ruby/1.3.0
1001
- Accept:
1002
- - "*/*"
1003
- Content-Type:
1004
- - application/json
1005
- Authorization:
1006
- - Basic xxx==
1007
- Accept-Encoding:
1008
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1009
- response:
1010
- status:
1011
- code: 200
1012
- message: OK
1013
- headers:
1014
- Access-Control-Allow-Credentials:
1015
- - 'true'
1016
- Access-Control-Allow-Origin:
1017
- - "*"
1018
- Cache-Control:
1019
- - no-store
225
+ - Tue, 25 Feb 2025 00:49:48 GMT
1020
226
  Content-Length:
1021
- - '68'
1022
- Content-Type:
1023
- - application/json; charset=utf-8
1024
- Date:
1025
- - Sun, 26 Jan 2025 07:29:39 GMT
1026
- Strict-Transport-Security:
1027
- - max-age=63072000; includeSubDomains
1028
- X-Mailgun-Key-Id:
1029
- - 90b59dea-f2d12a53
1030
- X-Request-Limit:
1031
- - '2500'
1032
- X-Request-Remaining:
1033
- - '2494'
1034
- X-Request-Reset:
1035
- - '1737876591950'
1036
- X-Xss-Protection:
1037
- - 1; mode=block
227
+ - '19'
1038
228
  body:
1039
229
  encoding: UTF-8
1040
- string: '{"message":"4 addresses have been added to the unsubscribes table"}
230
+ string: '{"message":"Bounced address has been removed"}
1041
231
 
1042
232
  '
1043
233
  http_version:
1044
- recorded_at: Sun, 26 Jan 2025 07:29:40 GMT
234
+ recorded_at: Tue, 25 Feb 2025 00:49:48 GMT
1045
235
  - request:
1046
236
  method: delete
1047
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test1@example.com
237
+ uri: https://api.mailgun.net/bounces/test3@example.net
1048
238
  body:
1049
239
  encoding: US-ASCII
1050
240
  string: ''
1051
241
  headers:
1052
242
  User-Agent:
1053
- - mailgun-sdk-ruby/1.3.0
243
+ - mailgun-sdk-ruby/1.3.2
1054
244
  Accept:
1055
- - "*/*"
245
+ - "*/*"
1056
246
  Authorization:
1057
- - Basic xxx==
247
+ - Basic xxx
1058
248
  Accept-Encoding:
1059
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
249
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1060
250
  response:
1061
251
  status:
1062
252
  code: 200
1063
253
  message: OK
1064
254
  headers:
1065
- Access-Control-Allow-Credentials:
1066
- - 'true'
1067
- Access-Control-Allow-Origin:
1068
- - "*"
1069
- Cache-Control:
1070
- - no-store
1071
- Content-Length:
1072
- - '79'
1073
255
  Content-Type:
1074
- - application/json; charset=utf-8
256
+ - text/plain; charset=utf-8
257
+ X-Content-Type-Options:
258
+ - nosniff
1075
259
  Date:
1076
- - Sun, 26 Jan 2025 07:29:40 GMT
1077
- Strict-Transport-Security:
1078
- - max-age=63072000; includeSubDomains
1079
- X-Mailgun-Key-Id:
1080
- - 90b59dea-f2d12a53
1081
- X-Request-Limit:
1082
- - '2500'
1083
- X-Request-Remaining:
1084
- - '2493'
1085
- X-Request-Reset:
1086
- - '1737876591950'
1087
- X-Xss-Protection:
1088
- - 1; mode=block
260
+ - Tue, 25 Feb 2025 00:49:48 GMT
261
+ Content-Length:
262
+ - '19'
1089
263
  body:
1090
264
  encoding: UTF-8
1091
- string: '{"address":"test1@example.com","message":"Unsubscribe event has been
1092
- removed"}
265
+ string: '{"message":"Bounced address has been removed"}
1093
266
 
1094
267
  '
1095
268
  http_version:
1096
- recorded_at: Sun, 26 Jan 2025 07:29:40 GMT
269
+ recorded_at: Tue, 25 Feb 2025 00:49:48 GMT
1097
270
  - request:
1098
271
  method: delete
1099
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test2@example.org
272
+ uri: https://api.mailgun.net/bounces/test4@example.info
1100
273
  body:
1101
274
  encoding: US-ASCII
1102
275
  string: ''
1103
276
  headers:
1104
277
  User-Agent:
1105
- - mailgun-sdk-ruby/1.3.0
278
+ - mailgun-sdk-ruby/1.3.2
1106
279
  Accept:
1107
- - "*/*"
280
+ - "*/*"
1108
281
  Authorization:
1109
- - Basic xxx==
282
+ - Basic xxx
1110
283
  Accept-Encoding:
1111
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
284
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1112
285
  response:
1113
286
  status:
1114
287
  code: 200
1115
288
  message: OK
1116
289
  headers:
1117
- Access-Control-Allow-Credentials:
1118
- - 'true'
1119
- Access-Control-Allow-Origin:
1120
- - "*"
1121
- Cache-Control:
1122
- - no-store
1123
- Content-Length:
1124
- - '79'
1125
290
  Content-Type:
1126
- - application/json; charset=utf-8
291
+ - text/plain; charset=utf-8
292
+ X-Content-Type-Options:
293
+ - nosniff
1127
294
  Date:
1128
- - Sun, 26 Jan 2025 07:29:41 GMT
1129
- Strict-Transport-Security:
1130
- - max-age=63072000; includeSubDomains
1131
- X-Mailgun-Key-Id:
1132
- - 90b59dea-f2d12a53
1133
- X-Request-Limit:
1134
- - '2500'
1135
- X-Request-Remaining:
1136
- - '2492'
1137
- X-Request-Reset:
1138
- - '1737876591950'
1139
- X-Xss-Protection:
1140
- - 1; mode=block
295
+ - Tue, 25 Feb 2025 00:49:48 GMT
296
+ Content-Length:
297
+ - '19'
1141
298
  body:
1142
299
  encoding: UTF-8
1143
- string: '{"address":"test2@example.org","message":"Unsubscribe event has been
1144
- removed"}
300
+ string: '{"message":"Bounced address has been removed"}
1145
301
 
1146
302
  '
1147
303
  http_version:
1148
- recorded_at: Sun, 26 Jan 2025 07:29:41 GMT
304
+ recorded_at: Tue, 25 Feb 2025 00:49:48 GMT
1149
305
  - request:
1150
306
  method: delete
1151
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test3@example.net
307
+ uri: https://api.mailgun.net/unsubscribes/test2@example.org
1152
308
  body:
1153
309
  encoding: US-ASCII
1154
310
  string: ''
1155
311
  headers:
1156
312
  User-Agent:
1157
- - mailgun-sdk-ruby/1.3.0
313
+ - mailgun-sdk-ruby/1.3.2
1158
314
  Accept:
1159
315
  - "*/*"
1160
316
  Authorization:
1161
- - Basic xxx==
317
+ - Basic xxx
1162
318
  Accept-Encoding:
1163
319
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1164
320
  response:
@@ -1166,208 +322,104 @@ http_interactions:
1166
322
  code: 200
1167
323
  message: OK
1168
324
  headers:
1169
- Access-Control-Allow-Credentials:
1170
- - 'true'
1171
- Access-Control-Allow-Origin:
1172
- - "*"
1173
- Cache-Control:
1174
- - no-store
1175
- Content-Length:
1176
- - '79'
1177
325
  Content-Type:
1178
- - application/json; charset=utf-8
326
+ - text/plain; charset=utf-8
327
+ X-Content-Type-Options:
328
+ - nosniff
1179
329
  Date:
1180
- - Sun, 26 Jan 2025 07:29:41 GMT
1181
- Strict-Transport-Security:
1182
- - max-age=63072000; includeSubDomains
1183
- X-Mailgun-Key-Id:
1184
- - 90b59dea-f2d12a53
1185
- X-Request-Limit:
1186
- - '2500'
1187
- X-Request-Remaining:
1188
- - '2491'
1189
- X-Request-Reset:
1190
- - '1737876591950'
1191
- X-Xss-Protection:
1192
- - 1; mode=block
330
+ - Tue, 25 Feb 2025 00:49:48 GMT
331
+ Content-Length:
332
+ - '19'
1193
333
  body:
1194
334
  encoding: UTF-8
1195
- string: '{"address":"test3@example.net","message":"Unsubscribe event has been
1196
- removed"}
335
+ string: '{"message":"Unsubscribe event has been removed"}
1197
336
 
1198
337
  '
1199
338
  http_version:
1200
- recorded_at: Sun, 26 Jan 2025 07:29:41 GMT
339
+ recorded_at: Tue, 25 Feb 2025 00:49:48 GMT
1201
340
  - request:
1202
341
  method: delete
1203
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test4@example.info
342
+ uri: https://api.mailgun.net/unsubscribes/test3@example.net
1204
343
  body:
1205
344
  encoding: US-ASCII
1206
345
  string: ''
1207
346
  headers:
1208
347
  User-Agent:
1209
- - mailgun-sdk-ruby/1.3.0
348
+ - mailgun-sdk-ruby/1.3.2
1210
349
  Accept:
1211
- - "*/*"
350
+ - "*/*"
1212
351
  Authorization:
1213
- - Basic xxx==
352
+ - Basic xxx
1214
353
  Accept-Encoding:
1215
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
354
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1216
355
  response:
1217
356
  status:
1218
357
  code: 200
1219
358
  message: OK
1220
359
  headers:
1221
- Access-Control-Allow-Credentials:
1222
- - 'true'
1223
- Access-Control-Allow-Origin:
1224
- - "*"
1225
- Cache-Control:
1226
- - no-store
1227
- Content-Length:
1228
- - '80'
1229
360
  Content-Type:
1230
- - application/json; charset=utf-8
361
+ - text/plain; charset=utf-8
362
+ X-Content-Type-Options:
363
+ - nosniff
1231
364
  Date:
1232
- - Sun, 26 Jan 2025 07:29:42 GMT
1233
- Strict-Transport-Security:
1234
- - max-age=63072000; includeSubDomains
1235
- X-Mailgun-Key-Id:
1236
- - 90b59dea-f2d12a53
1237
- X-Request-Limit:
1238
- - '2500'
1239
- X-Request-Remaining:
1240
- - '2490'
1241
- X-Request-Reset:
1242
- - '1737876591950'
1243
- X-Xss-Protection:
1244
- - 1; mode=block
1245
- body:
1246
- encoding: UTF-8
1247
- string: '{"address":"test4@example.info","message":"Unsubscribe event has been
1248
- removed"}
1249
-
1250
- '
1251
- http_version:
1252
- recorded_at: Sun, 26 Jan 2025 07:29:42 GMT
1253
- - request:
1254
- method: post
1255
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints
1256
- body:
1257
- encoding: UTF-8
1258
- string: '[{"address":"test4@example.info"},{"address":"test3@example.net"},{"address":"test2@example.org"},{"address":"test1@example.com"}]'
1259
- headers:
1260
- User-Agent:
1261
- - mailgun-sdk-ruby/1.3.0
1262
- Accept:
1263
- - "*/*"
1264
- Content-Type:
1265
- - application/json
1266
- Authorization:
1267
- - Basic xxx==
1268
- Accept-Encoding:
1269
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1270
- response:
1271
- status:
1272
- code: 200
1273
- message: OK
1274
- headers:
1275
- Access-Control-Allow-Credentials:
1276
- - 'true'
1277
- Access-Control-Allow-Origin:
1278
- - "*"
1279
- Cache-Control:
1280
- - no-store
365
+ - Tue, 25 Feb 2025 00:49:48 GMT
1281
366
  Content-Length:
1282
- - '76'
1283
- Content-Type:
1284
- - application/json; charset=utf-8
1285
- Date:
1286
- - Sun, 26 Jan 2025 07:29:42 GMT
1287
- Strict-Transport-Security:
1288
- - max-age=63072000; includeSubDomains
1289
- X-Mailgun-Key-Id:
1290
- - 90b59dea-f2d12a53
1291
- X-Request-Limit:
1292
- - '2500'
1293
- X-Request-Remaining:
1294
- - '2489'
1295
- X-Request-Reset:
1296
- - '1737876591950'
1297
- X-Xss-Protection:
1298
- - 1; mode=block
367
+ - '19'
1299
368
  body:
1300
369
  encoding: UTF-8
1301
- string: '{"message":"4 complaint addresses have been added to the complaints
1302
- table"}
370
+ string: '{"message":"Unsubscribe event has been removed"}
1303
371
 
1304
372
  '
1305
373
  http_version:
1306
- recorded_at: Sun, 26 Jan 2025 07:29:43 GMT
374
+ recorded_at: Tue, 25 Feb 2025 00:49:48 GMT
1307
375
  - request:
1308
376
  method: delete
1309
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test1@example.com
377
+ uri: https://api.mailgun.net/unsubscribes/test4@example.info
1310
378
  body:
1311
379
  encoding: US-ASCII
1312
380
  string: ''
1313
381
  headers:
1314
382
  User-Agent:
1315
- - mailgun-sdk-ruby/1.3.0
383
+ - mailgun-sdk-ruby/1.3.2
1316
384
  Accept:
1317
- - "*/*"
385
+ - "*/*"
1318
386
  Authorization:
1319
- - Basic xxx==
387
+ - Basic xxx
1320
388
  Accept-Encoding:
1321
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
389
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1322
390
  response:
1323
391
  status:
1324
392
  code: 200
1325
393
  message: OK
1326
394
  headers:
1327
- Access-Control-Allow-Credentials:
1328
- - 'true'
1329
- Access-Control-Allow-Origin:
1330
- - "*"
1331
- Cache-Control:
1332
- - no-store
1333
- Content-Length:
1334
- - '76'
1335
395
  Content-Type:
1336
- - application/json; charset=utf-8
396
+ - text/plain; charset=utf-8
397
+ X-Content-Type-Options:
398
+ - nosniff
1337
399
  Date:
1338
- - Sun, 26 Jan 2025 07:29:43 GMT
1339
- Strict-Transport-Security:
1340
- - max-age=63072000; includeSubDomains
1341
- X-Mailgun-Key-Id:
1342
- - 90b59dea-f2d12a53
1343
- X-Request-Limit:
1344
- - '2500'
1345
- X-Request-Remaining:
1346
- - '2488'
1347
- X-Request-Reset:
1348
- - '1737876591950'
1349
- X-Xss-Protection:
1350
- - 1; mode=block
400
+ - Tue, 25 Feb 2025 00:49:48 GMT
401
+ Content-Length:
402
+ - '19'
1351
403
  body:
1352
404
  encoding: UTF-8
1353
- string: '{"address":"test1@example.com","message":"Spam complaint has been removed"}
405
+ string: '{"message":"Unsubscribe event has been removed"}
1354
406
 
1355
407
  '
1356
408
  http_version:
1357
- recorded_at: Sun, 26 Jan 2025 07:29:43 GMT
409
+ recorded_at: Tue, 25 Feb 2025 00:49:48 GMT
1358
410
  - request:
1359
411
  method: delete
1360
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test2@example.org
412
+ uri: https://api.mailgun.net/complaints/test2@example.org
1361
413
  body:
1362
414
  encoding: US-ASCII
1363
415
  string: ''
1364
416
  headers:
1365
417
  User-Agent:
1366
- - mailgun-sdk-ruby/1.3.0
418
+ - mailgun-sdk-ruby/1.3.2
1367
419
  Accept:
1368
420
  - "*/*"
1369
421
  Authorization:
1370
- - Basic xxx==
422
+ - Basic xxx
1371
423
  Accept-Encoding:
1372
424
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1373
425
  response:
@@ -1375,136 +427,81 @@ http_interactions:
1375
427
  code: 200
1376
428
  message: OK
1377
429
  headers:
1378
- Access-Control-Allow-Credentials:
1379
- - 'true'
1380
- Access-Control-Allow-Origin:
1381
- - "*"
1382
- Cache-Control:
1383
- - no-store
1384
- Content-Length:
1385
- - '76'
1386
- Content-Type:
1387
- - application/json; charset=utf-8
1388
430
  Date:
1389
- - Sun, 26 Jan 2025 07:29:44 GMT
431
+ - Sun, 26 Jan 2025 07:29:45 GMT
1390
432
  Strict-Transport-Security:
1391
433
  - max-age=63072000; includeSubDomains
1392
- X-Mailgun-Key-Id:
1393
- - 90b59dea-f2d12a53
1394
- X-Request-Limit:
1395
- - '2500'
1396
- X-Request-Remaining:
1397
- - '2487'
1398
- X-Request-Reset:
1399
- - '1737876591950'
1400
434
  X-Xss-Protection:
1401
435
  - 1; mode=block
1402
436
  body:
1403
437
  encoding: UTF-8
1404
- string: '{"address":"test2@example.org","message":"Spam complaint has been removed"}
438
+ string: '{"message":"Spam complaint has been removed"}
1405
439
 
1406
440
  '
1407
441
  http_version:
1408
- recorded_at: Sun, 26 Jan 2025 07:29:44 GMT
442
+ recorded_at: Sun, 26 Jan 2025 07:29:45 GMT
1409
443
  - request:
1410
444
  method: delete
1411
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test3@example.net
445
+ uri: https://api.mailgun.net/complaints/test3@example.net
1412
446
  body:
1413
447
  encoding: US-ASCII
1414
448
  string: ''
1415
449
  headers:
1416
450
  User-Agent:
1417
- - mailgun-sdk-ruby/1.3.0
451
+ - mailgun-sdk-ruby/1.3.2
1418
452
  Accept:
1419
- - "*/*"
453
+ - "*/*"
1420
454
  Authorization:
1421
- - Basic xxx==
455
+ - Basic xxx
1422
456
  Accept-Encoding:
1423
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
457
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1424
458
  response:
1425
459
  status:
1426
460
  code: 200
1427
461
  message: OK
1428
462
  headers:
1429
- Access-Control-Allow-Credentials:
1430
- - 'true'
1431
- Access-Control-Allow-Origin:
1432
- - "*"
1433
- Cache-Control:
1434
- - no-store
1435
- Content-Length:
1436
- - '76'
1437
- Content-Type:
1438
- - application/json; charset=utf-8
1439
463
  Date:
1440
- - Sun, 26 Jan 2025 07:29:45 GMT
464
+ - Sun, 26 Jan 2025 07:29:45 GMT
1441
465
  Strict-Transport-Security:
1442
- - max-age=63072000; includeSubDomains
1443
- X-Mailgun-Key-Id:
1444
- - 90b59dea-f2d12a53
1445
- X-Request-Limit:
1446
- - '2500'
1447
- X-Request-Remaining:
1448
- - '2486'
1449
- X-Request-Reset:
1450
- - '1737876591950'
466
+ - max-age=63072000; includeSubDomains
1451
467
  X-Xss-Protection:
1452
- - 1; mode=block
468
+ - 1; mode=block
1453
469
  body:
1454
470
  encoding: UTF-8
1455
- string: '{"address":"test3@example.net","message":"Spam complaint has been removed"}
471
+ string: '{"message":"Spam complaint has been removed"}
1456
472
 
1457
473
  '
1458
474
  http_version:
1459
475
  recorded_at: Sun, 26 Jan 2025 07:29:45 GMT
1460
476
  - request:
1461
477
  method: delete
1462
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test4@example.info
478
+ uri: https://api.mailgun.net/complaints/test4@example.info
1463
479
  body:
1464
480
  encoding: US-ASCII
1465
481
  string: ''
1466
482
  headers:
1467
483
  User-Agent:
1468
- - mailgun-sdk-ruby/1.3.0
484
+ - mailgun-sdk-ruby/1.3.2
1469
485
  Accept:
1470
- - "*/*"
486
+ - "*/*"
1471
487
  Authorization:
1472
- - Basic xxx==
488
+ - Basic xxx
1473
489
  Accept-Encoding:
1474
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
490
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1475
491
  response:
1476
492
  status:
1477
493
  code: 200
1478
494
  message: OK
1479
495
  headers:
1480
- Access-Control-Allow-Credentials:
1481
- - 'true'
1482
- Access-Control-Allow-Origin:
1483
- - "*"
1484
- Cache-Control:
1485
- - no-store
1486
- Content-Length:
1487
- - '77'
1488
- Content-Type:
1489
- - application/json; charset=utf-8
1490
496
  Date:
1491
- - Sun, 26 Jan 2025 07:29:45 GMT
497
+ - Sun, 26 Jan 2025 07:29:45 GMT
1492
498
  Strict-Transport-Security:
1493
- - max-age=63072000; includeSubDomains
1494
- X-Mailgun-Key-Id:
1495
- - 90b59dea-f2d12a53
1496
- X-Request-Limit:
1497
- - '2500'
1498
- X-Request-Remaining:
1499
- - '2485'
1500
- X-Request-Reset:
1501
- - '1737876591950'
499
+ - max-age=63072000; includeSubDomains
1502
500
  X-Xss-Protection:
1503
- - 1; mode=block
501
+ - 1; mode=block
1504
502
  body:
1505
503
  encoding: UTF-8
1506
- string: '{"address":"test4@example.info","message":"Spam complaint has been
1507
- removed"}
504
+ string: '{"message":"Spam complaint has been removed"}
1508
505
 
1509
506
  '
1510
507
  http_version: