mailgun-ruby 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -98,7 +98,7 @@ http_interactions:
98
98
  }
99
99
  ]
100
100
  }
101
- http_version:
101
+ http_version:
102
102
  recorded_at: Fri, 15 Jan 2016 20:11:29 GMT
103
103
  - request:
104
104
  method: get
@@ -193,7 +193,7 @@ http_interactions:
193
193
  }
194
194
  ]
195
195
  }
196
- http_version:
196
+ http_version:
197
197
  recorded_at: Fri, 15 Jan 2016 20:11:29 GMT
198
198
  - request:
199
199
  method: get
@@ -305,7 +305,7 @@ http_interactions:
305
305
  ],
306
306
  "total_count": 5
307
307
  }
308
- http_version:
308
+ http_version:
309
309
  recorded_at: Fri, 15 Jan 2016 20:11:29 GMT
310
310
  - request:
311
311
  method: delete
@@ -355,7 +355,7 @@ http_interactions:
355
355
  {
356
356
  "message": "Domain has been deleted"
357
357
  }
358
- http_version:
358
+ http_version:
359
359
  recorded_at: Fri, 15 Jan 2016 20:12:54 GMT
360
360
  - request:
361
361
  method: put
@@ -404,8 +404,8 @@ http_interactions:
404
404
  string: '{"message":"Domain has been updated","domain":{"created_at":"Mon, 25
405
405
  Jan 2021 10:11:26 GMT","id":"600e994e20b1a14a5990856d","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@DOMAIN.TEST","spam_action":"block","state":"active","type":"sandbox","web_prefix":"email","web_scheme":"https","wildcard":true}}
406
406
 
407
- '
408
- http_version:
407
+ '
408
+ http_version:
409
409
  recorded_at: Mon, 17 Apr 2023 13:04:47 GMT
410
410
  - request:
411
411
  method: post
@@ -458,8 +458,8 @@ http_interactions:
458
458
  p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWCVG78+Mb0j0pL3PsG+sj24kWDWEjLhrsD5Kz7Ql4NXXRYe9vWFsZ7kbR84iiDDpmJpcW68C3QQ/pXaJDFp5v+jmfAG1zX5yiSVdpHmH71dCWq40iUJklH8bPp0S2GcXBOEY3JEV3zky2kejLYLItanUTY5f/zZ8zmCnen416+wIDAQAB"},{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
459
459
  include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
460
460
 
461
- '
462
- http_version:
461
+ '
462
+ http_version:
463
463
  recorded_at: Sun, 07 Jan 2024 14:27:29 GMT
464
464
  - request:
465
465
  method: get
@@ -507,8 +507,8 @@ http_interactions:
507
507
  p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWCVG78+Mb0j0pL3PsG+sj24kWDWEjLhrsD5Kz7Ql4NXXRYe9vWFsZ7kbR84iiDDpmJpcW68C3QQ/pXaJDFp5v+jmfAG1zX5yiSVdpHmH71dCWq40iUJklH8bPp0S2GcXBOEY3JEV3zky2kejLYLItanUTY5f/zZ8zmCnen416+wIDAQAB"},{"is_active":true,"cached":[],"name":"integration-test.domain.invalid","record_type":"TXT","valid":"unknown","value":"v=spf1
508
508
  include:mailgun.org ~all"},{"is_active":true,"cached":[],"name":"email.integration-test.domain.invalid","record_type":"CNAME","valid":"unknown","value":"mailgun.org"}]}
509
509
 
510
- '
511
- http_version:
510
+ '
511
+ http_version:
512
512
  recorded_at: Sun, 07 Jan 2024 14:27:29 GMT
513
513
  - request:
514
514
  method: get
@@ -556,8 +556,8 @@ http_interactions:
556
556
  GMT","id":"659ab4d1240ce9cf67764a72","is_disabled":false,"name":"integration-test.domain.invalid","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@integration-test.domain.invalid","spam_action":"tag","state":"unverified","type":"custom","web_prefix":"email","web_scheme":"http","wildcard":false},{"created_at":"Mon,
557
557
  25 Jan 2021 10:11:26 GMT","id":"600e994e20b1a14a5990856d","is_disabled":false,"name":"DOMAIN.TEST","require_tls":false,"skip_verification":false,"smtp_login":"postmaster@DOMAIN.TEST","spam_action":"block","state":"active","type":"sandbox","web_prefix":"email","web_scheme":"https","wildcard":true}]}
558
558
 
559
- '
560
- http_version:
559
+ '
560
+ http_version:
561
561
  recorded_at: Sun, 07 Jan 2024 14:27:29 GMT
562
562
  - request:
563
563
  method: delete
@@ -603,8 +603,8 @@ http_interactions:
603
603
  encoding: UTF-8
604
604
  string: '{"message":"Domain will be deleted on the background"}
605
605
 
606
- '
607
- http_version:
606
+ '
607
+ http_version:
608
608
  recorded_at: Sun, 07 Jan 2024 14:27:30 GMT
609
609
  - request:
610
610
  method: post
@@ -658,7 +658,7 @@ http_interactions:
658
658
  {
659
659
  "message": "Created 1 credentials pair(s)"
660
660
  }
661
- http_version:
661
+ http_version:
662
662
  recorded_at: Sun, 07 Jan 2024 14:32:46 GMT
663
663
  - request:
664
664
  method: put
@@ -712,7 +712,7 @@ http_interactions:
712
712
  {
713
713
  "message": "Password changed"
714
714
  }
715
- http_version:
715
+ http_version:
716
716
  recorded_at: Sun, 07 Jan 2024 14:34:41 GMT
717
717
  - request:
718
718
  method: delete
@@ -760,7 +760,7 @@ http_interactions:
760
760
  encoding: UTF-8
761
761
  string: "{\n \"message\": \"Credentials have been deleted\", \n \"spec\":
762
762
  \"test_login@DOMAIN.TEST\"\n}\n"
763
- http_version:
763
+ http_version:
764
764
  recorded_at: Sun, 07 Jan 2024 14:35:46 GMT
765
765
  - request:
766
766
  method: get
@@ -806,8 +806,8 @@ http_interactions:
806
806
  encoding: UTF-8
807
807
  string: '{"require_tls":false,"skip_verification":false}
808
808
 
809
- '
810
- http_version:
809
+ '
810
+ http_version:
811
811
  recorded_at: Sun, 07 Jan 2024 14:42:01 GMT
812
812
  - request:
813
813
  method: put
@@ -858,8 +858,8 @@ http_interactions:
858
858
  string: '{"message":"Domain connection settings have been updated, may take
859
859
  10 minutes to fully propagate","require_tls":true,"skip_verification":true}
860
860
 
861
- '
862
- http_version:
861
+ '
862
+ http_version:
863
863
  recorded_at: Sun, 07 Jan 2024 14:49:33 GMT
864
864
  - request:
865
865
  method: get
@@ -905,8 +905,8 @@ http_interactions:
905
905
  encoding: UTF-8
906
906
  string: '{"tracking":{"open":{"active":true,"place_at_the_top":true},"click":{"active":true},"unsubscribe":{"active":true,"html_footer":"<p>unsubscribe</p>","text_footer":"unsubscribe"}}}
907
907
 
908
- '
909
- http_version:
908
+ '
909
+ http_version:
910
910
  recorded_at: Sun, 07 Jan 2024 14:51:15 GMT
911
911
  - request:
912
912
  method: put
@@ -956,8 +956,8 @@ http_interactions:
956
956
  encoding: UTF-8
957
957
  string: '{"message":"Domain tracking settings have been updated","open":{"active":false,"place_at_the_top":true}}
958
958
 
959
- '
960
- http_version:
959
+ '
960
+ http_version:
961
961
  recorded_at: Sun, 07 Jan 2024 14:59:22 GMT
962
962
  - request:
963
963
  method: put
@@ -1007,8 +1007,8 @@ http_interactions:
1007
1007
  encoding: UTF-8
1008
1008
  string: '{"message":"Domain tracking settings have been updated","click":{"active":false}}
1009
1009
 
1010
- '
1011
- http_version:
1010
+ '
1011
+ http_version:
1012
1012
  recorded_at: Sun, 07 Jan 2024 15:01:03 GMT
1013
1013
  - request:
1014
1014
  method: put
@@ -1058,8 +1058,8 @@ http_interactions:
1058
1058
  encoding: UTF-8
1059
1059
  string: '{"message":"Domain tracking settings have been updated","unsubscribe":{"active":false,"html_footer":"<p>unsubscribe</p>","text_footer":"unsubscribe"}}
1060
1060
 
1061
- '
1062
- http_version:
1061
+ '
1062
+ http_version:
1063
1063
  recorded_at: Sun, 07 Jan 2024 15:13:04 GMT
1064
1064
  - request:
1065
1065
  method: put
@@ -1111,8 +1111,8 @@ http_interactions:
1111
1111
  include:mailgun.org ~all"],"name":"DOMAIN.TEST","record_type":"TXT","valid":"valid","value":"v=spf1
1112
1112
  include:mailgun.org ~all"},{"is_active":true,"cached":["mailgun.org"],"name":"email.DOMAIN.TEST","record_type":"CNAME","valid":"valid","value":"mailgun.org"}],"changed":true}
1113
1113
 
1114
- '
1115
- http_version:
1114
+ '
1115
+ http_version:
1116
1116
  recorded_at: Sun, 07 Jan 2024 15:14:24 GMT
1117
1117
  - request:
1118
1118
  method: put
@@ -1162,8 +1162,8 @@ http_interactions:
1162
1162
  encoding: UTF-8
1163
1163
  string: '{"message":"Domain DKIM authority changed"}
1164
1164
 
1165
- '
1166
- http_version:
1165
+ '
1166
+ http_version:
1167
1167
  recorded_at: Sun, 07 Jan 2024 15:21:07 GMT
1168
1168
  - request:
1169
1169
  method: put
@@ -1213,8 +1213,8 @@ http_interactions:
1213
1213
  encoding: UTF-8
1214
1214
  string: '{"message":"Domain web prefix updated"}
1215
1215
 
1216
- '
1217
- http_version:
1216
+ '
1217
+ http_version:
1218
1218
  recorded_at: Sun, 07 Jan 2024 15:25:25 GMT
1219
1219
  - request:
1220
1220
  method: get
@@ -1260,8 +1260,8 @@ http_interactions:
1260
1260
  encoding: UTF-8
1261
1261
  string: '{"items":[{"signing_domain":"DOMAIN.TEST","selector":"mailo1","dns_record":{"is_active":true,"cached":[],"name":"mailo1._domainkey.DOMAIN.TEST","record_type":"TXT","valid":"unknown","value":""}}]}
1262
1262
 
1263
- '
1264
- http_version:
1263
+ '
1264
+ http_version:
1265
1265
  recorded_at: Sun, 07 Jan 2024 15:34:00 GMT
1266
1266
  - request:
1267
1267
  method: put
@@ -1311,8 +1311,8 @@ http_interactions:
1311
1311
  encoding: UTF-8
1312
1312
  string: '{"message":"domain key activated","authority":"DOMAIN.TEST","selector":"smtp","active":true}
1313
1313
 
1314
- '
1315
- http_version:
1314
+ '
1315
+ http_version:
1316
1316
  recorded_at: Sun, 07 Jan 2024 15:51:11 GMT
1317
1317
  - request:
1318
1318
  method: put
@@ -1362,8 +1362,8 @@ http_interactions:
1362
1362
  encoding: UTF-8
1363
1363
  string: '{"message":"domain key deactivated","authority":"DOMAIN.TEST","selector":"smtp","active":false}
1364
1364
 
1365
- '
1366
- http_version:
1365
+ '
1366
+ http_version:
1367
1367
  recorded_at: Sun, 07 Jan 2024 15:51:19 GMT
1368
1368
  - request:
1369
1369
  method: delete
@@ -1409,8 +1409,8 @@ http_interactions:
1409
1409
  encoding: UTF-8
1410
1410
  string: '{"message":"success"}
1411
1411
 
1412
- '
1413
- http_version:
1412
+ '
1413
+ http_version:
1414
1414
  recorded_at: Wed, 10 Jan 2024 14:13:34 GMT
1415
1415
  - request:
1416
1416
  method: get
@@ -1471,7 +1471,739 @@ http_interactions:
1471
1471
  10 Jan 2024 12:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024
1472
1472
  13:00:00 UTC","clicked":{"total":0}},{"time":"Wed, 10 Jan 2024 14:00:00 UTC","clicked":{"total":0}}]}
1473
1473
 
1474
- '
1475
- http_version:
1474
+ '
1475
+ http_version:
1476
1476
  recorded_at: Wed, 10 Jan 2024 14:40:47 GMT
1477
+ - request:
1478
+ method: post
1479
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials
1480
+ body:
1481
+ encoding: UTF-8
1482
+ string: login=test_login&password=test_password
1483
+ headers:
1484
+ User-Agent:
1485
+ - mailgun-sdk-ruby/1.3.0
1486
+ Accept:
1487
+ - "*/*"
1488
+ Authorization:
1489
+ - Basic xxx==
1490
+ Content-Type:
1491
+ - application/x-www-form-urlencoded
1492
+ Accept-Encoding:
1493
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1494
+ response:
1495
+ status:
1496
+ code: 404
1497
+ message: Not Found
1498
+ headers:
1499
+ Access-Control-Allow-Credentials:
1500
+ - 'true'
1501
+ Access-Control-Allow-Origin:
1502
+ - "*"
1503
+ Cache-Control:
1504
+ - no-store
1505
+ Content-Length:
1506
+ - '31'
1507
+ Content-Type:
1508
+ - application/json; charset=utf-8
1509
+ Date:
1510
+ - Sun, 26 Jan 2025 07:29:09 GMT
1511
+ Strict-Transport-Security:
1512
+ - max-age=63072000; includeSubDomains
1513
+ X-Xss-Protection:
1514
+ - 1; mode=block
1515
+ body:
1516
+ encoding: UTF-8
1517
+ string: '{"message":"domain not found"}
1518
+
1519
+ '
1520
+ http_version:
1521
+ recorded_at: Sun, 26 Jan 2025 07:29:09 GMT
1522
+ - request:
1523
+ method: put
1524
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
1525
+ body:
1526
+ encoding: UTF-8
1527
+ string: password=test_password2
1528
+ headers:
1529
+ User-Agent:
1530
+ - mailgun-sdk-ruby/1.3.0
1531
+ Accept:
1532
+ - "*/*"
1533
+ Authorization:
1534
+ - Basic xxx==
1535
+ Content-Type:
1536
+ - application/x-www-form-urlencoded
1537
+ Accept-Encoding:
1538
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1539
+ response:
1540
+ status:
1541
+ code: 404
1542
+ message: Not Found
1543
+ headers:
1544
+ Access-Control-Allow-Credentials:
1545
+ - 'true'
1546
+ Access-Control-Allow-Origin:
1547
+ - "*"
1548
+ Cache-Control:
1549
+ - no-store
1550
+ Content-Length:
1551
+ - '31'
1552
+ Content-Type:
1553
+ - application/json; charset=utf-8
1554
+ Date:
1555
+ - Sun, 26 Jan 2025 07:29:09 GMT
1556
+ Strict-Transport-Security:
1557
+ - max-age=63072000; includeSubDomains
1558
+ X-Xss-Protection:
1559
+ - 1; mode=block
1560
+ body:
1561
+ encoding: UTF-8
1562
+ string: '{"message":"domain not found"}
1563
+
1564
+ '
1565
+ http_version:
1566
+ recorded_at: Sun, 26 Jan 2025 07:29:09 GMT
1567
+ - request:
1568
+ method: delete
1569
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/credentials/test_login
1570
+ body:
1571
+ encoding: US-ASCII
1572
+ string: ''
1573
+ headers:
1574
+ User-Agent:
1575
+ - mailgun-sdk-ruby/1.3.0
1576
+ Accept:
1577
+ - "*/*"
1578
+ Authorization:
1579
+ - Basic xxx==
1580
+ Accept-Encoding:
1581
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1582
+ response:
1583
+ status:
1584
+ code: 404
1585
+ message: Not Found
1586
+ headers:
1587
+ Access-Control-Allow-Credentials:
1588
+ - 'true'
1589
+ Access-Control-Allow-Origin:
1590
+ - "*"
1591
+ Cache-Control:
1592
+ - no-store
1593
+ Content-Length:
1594
+ - '31'
1595
+ Content-Type:
1596
+ - application/json; charset=utf-8
1597
+ Date:
1598
+ - Sun, 26 Jan 2025 07:29:10 GMT
1599
+ Strict-Transport-Security:
1600
+ - max-age=63072000; includeSubDomains
1601
+ X-Xss-Protection:
1602
+ - 1; mode=block
1603
+ body:
1604
+ encoding: UTF-8
1605
+ string: '{"message":"domain not found"}
1606
+
1607
+ '
1608
+ http_version:
1609
+ recorded_at: Sun, 26 Jan 2025 07:29:10 GMT
1610
+ - request:
1611
+ method: get
1612
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
1613
+ body:
1614
+ encoding: US-ASCII
1615
+ string: ''
1616
+ headers:
1617
+ User-Agent:
1618
+ - mailgun-sdk-ruby/1.3.0
1619
+ Accept:
1620
+ - "*/*"
1621
+ Authorization:
1622
+ - Basic xxx==
1623
+ Accept-Encoding:
1624
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1625
+ response:
1626
+ status:
1627
+ code: 404
1628
+ message: Not Found
1629
+ headers:
1630
+ Access-Control-Allow-Credentials:
1631
+ - 'true'
1632
+ Access-Control-Allow-Origin:
1633
+ - "*"
1634
+ Cache-Control:
1635
+ - no-store
1636
+ Content-Length:
1637
+ - '31'
1638
+ Content-Type:
1639
+ - application/json; charset=utf-8
1640
+ Date:
1641
+ - Sun, 26 Jan 2025 07:29:11 GMT
1642
+ Strict-Transport-Security:
1643
+ - max-age=63072000; includeSubDomains
1644
+ X-Mailgun-Key-Id:
1645
+ - 90b59dea-f2d12a53
1646
+ X-Xss-Protection:
1647
+ - 1; mode=block
1648
+ body:
1649
+ encoding: UTF-8
1650
+ string: '{"message":"Domain not found"}
1651
+
1652
+ '
1653
+ http_version:
1654
+ recorded_at: Sun, 26 Jan 2025 07:29:11 GMT
1655
+ - request:
1656
+ method: put
1657
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/connection
1658
+ body:
1659
+ encoding: UTF-8
1660
+ string: require_tls=true&skip_verification=true
1661
+ headers:
1662
+ User-Agent:
1663
+ - mailgun-sdk-ruby/1.3.0
1664
+ Accept:
1665
+ - "*/*"
1666
+ Authorization:
1667
+ - Basic xxx==
1668
+ Content-Type:
1669
+ - application/x-www-form-urlencoded
1670
+ Accept-Encoding:
1671
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1672
+ response:
1673
+ status:
1674
+ code: 404
1675
+ message: Not Found
1676
+ headers:
1677
+ Access-Control-Allow-Credentials:
1678
+ - 'true'
1679
+ Access-Control-Allow-Origin:
1680
+ - "*"
1681
+ Cache-Control:
1682
+ - no-store
1683
+ Content-Length:
1684
+ - '31'
1685
+ Content-Type:
1686
+ - application/json; charset=utf-8
1687
+ Date:
1688
+ - Sun, 26 Jan 2025 07:29:11 GMT
1689
+ Strict-Transport-Security:
1690
+ - max-age=63072000; includeSubDomains
1691
+ X-Mailgun-Key-Id:
1692
+ - 90b59dea-f2d12a53
1693
+ X-Xss-Protection:
1694
+ - 1; mode=block
1695
+ body:
1696
+ encoding: UTF-8
1697
+ string: '{"message":"Domain not found"}
1698
+
1699
+ '
1700
+ http_version:
1701
+ recorded_at: Sun, 26 Jan 2025 07:29:11 GMT
1702
+ - request:
1703
+ method: get
1704
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking
1705
+ body:
1706
+ encoding: US-ASCII
1707
+ string: ''
1708
+ headers:
1709
+ User-Agent:
1710
+ - mailgun-sdk-ruby/1.3.0
1711
+ Accept:
1712
+ - "*/*"
1713
+ Authorization:
1714
+ - Basic xxx==
1715
+ Accept-Encoding:
1716
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1717
+ response:
1718
+ status:
1719
+ code: 404
1720
+ message: Not Found
1721
+ headers:
1722
+ Access-Control-Allow-Credentials:
1723
+ - 'true'
1724
+ Access-Control-Allow-Origin:
1725
+ - "*"
1726
+ Cache-Control:
1727
+ - no-store
1728
+ Content-Length:
1729
+ - '31'
1730
+ Content-Type:
1731
+ - application/json; charset=utf-8
1732
+ Date:
1733
+ - Sun, 26 Jan 2025 07:29:12 GMT
1734
+ Strict-Transport-Security:
1735
+ - max-age=63072000; includeSubDomains
1736
+ X-Mailgun-Key-Id:
1737
+ - 90b59dea-f2d12a53
1738
+ X-Xss-Protection:
1739
+ - 1; mode=block
1740
+ body:
1741
+ encoding: UTF-8
1742
+ string: '{"message":"Domain not found"}
1743
+
1744
+ '
1745
+ http_version:
1746
+ recorded_at: Sun, 26 Jan 2025 07:29:12 GMT
1747
+ - request:
1748
+ method: put
1749
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/open
1750
+ body:
1751
+ encoding: UTF-8
1752
+ string: active=false
1753
+ headers:
1754
+ User-Agent:
1755
+ - mailgun-sdk-ruby/1.3.0
1756
+ Accept:
1757
+ - "*/*"
1758
+ Authorization:
1759
+ - Basic xxx==
1760
+ Content-Type:
1761
+ - application/x-www-form-urlencoded
1762
+ Accept-Encoding:
1763
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1764
+ response:
1765
+ status:
1766
+ code: 404
1767
+ message: Not Found
1768
+ headers:
1769
+ Access-Control-Allow-Credentials:
1770
+ - 'true'
1771
+ Access-Control-Allow-Origin:
1772
+ - "*"
1773
+ Cache-Control:
1774
+ - no-store
1775
+ Content-Length:
1776
+ - '31'
1777
+ Content-Type:
1778
+ - application/json; charset=utf-8
1779
+ Date:
1780
+ - Sun, 26 Jan 2025 07:29:12 GMT
1781
+ Strict-Transport-Security:
1782
+ - max-age=63072000; includeSubDomains
1783
+ X-Mailgun-Key-Id:
1784
+ - 90b59dea-f2d12a53
1785
+ X-Xss-Protection:
1786
+ - 1; mode=block
1787
+ body:
1788
+ encoding: UTF-8
1789
+ string: '{"message":"Domain not found"}
1790
+
1791
+ '
1792
+ http_version:
1793
+ recorded_at: Sun, 26 Jan 2025 07:29:12 GMT
1794
+ - request:
1795
+ method: put
1796
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/click
1797
+ body:
1798
+ encoding: UTF-8
1799
+ string: active=false
1800
+ headers:
1801
+ User-Agent:
1802
+ - mailgun-sdk-ruby/1.3.0
1803
+ Accept:
1804
+ - "*/*"
1805
+ Authorization:
1806
+ - Basic xxx==
1807
+ Content-Type:
1808
+ - application/x-www-form-urlencoded
1809
+ Accept-Encoding:
1810
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1811
+ response:
1812
+ status:
1813
+ code: 404
1814
+ message: Not Found
1815
+ headers:
1816
+ Access-Control-Allow-Credentials:
1817
+ - 'true'
1818
+ Access-Control-Allow-Origin:
1819
+ - "*"
1820
+ Cache-Control:
1821
+ - no-store
1822
+ Content-Length:
1823
+ - '31'
1824
+ Content-Type:
1825
+ - application/json; charset=utf-8
1826
+ Date:
1827
+ - Sun, 26 Jan 2025 07:29:13 GMT
1828
+ Strict-Transport-Security:
1829
+ - max-age=63072000; includeSubDomains
1830
+ X-Mailgun-Key-Id:
1831
+ - 90b59dea-f2d12a53
1832
+ X-Xss-Protection:
1833
+ - 1; mode=block
1834
+ body:
1835
+ encoding: UTF-8
1836
+ string: '{"message":"Domain not found"}
1837
+
1838
+ '
1839
+ http_version:
1840
+ recorded_at: Sun, 26 Jan 2025 07:29:13 GMT
1841
+ - request:
1842
+ method: put
1843
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/tracking/unsubscribe
1844
+ body:
1845
+ encoding: UTF-8
1846
+ string: active=false
1847
+ headers:
1848
+ User-Agent:
1849
+ - mailgun-sdk-ruby/1.3.0
1850
+ Accept:
1851
+ - "*/*"
1852
+ Authorization:
1853
+ - Basic xxx==
1854
+ Content-Type:
1855
+ - application/x-www-form-urlencoded
1856
+ Accept-Encoding:
1857
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1858
+ response:
1859
+ status:
1860
+ code: 404
1861
+ message: Not Found
1862
+ headers:
1863
+ Access-Control-Allow-Credentials:
1864
+ - 'true'
1865
+ Access-Control-Allow-Origin:
1866
+ - "*"
1867
+ Cache-Control:
1868
+ - no-store
1869
+ Content-Length:
1870
+ - '31'
1871
+ Content-Type:
1872
+ - application/json; charset=utf-8
1873
+ Date:
1874
+ - Sun, 26 Jan 2025 07:29:14 GMT
1875
+ Strict-Transport-Security:
1876
+ - max-age=63072000; includeSubDomains
1877
+ X-Mailgun-Key-Id:
1878
+ - 90b59dea-f2d12a53
1879
+ X-Xss-Protection:
1880
+ - 1; mode=block
1881
+ body:
1882
+ encoding: UTF-8
1883
+ string: '{"message":"Domain not found"}
1884
+
1885
+ '
1886
+ http_version:
1887
+ recorded_at: Sun, 26 Jan 2025 07:29:14 GMT
1888
+ - request:
1889
+ method: put
1890
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_authority
1891
+ body:
1892
+ encoding: UTF-8
1893
+ string: active=false
1894
+ headers:
1895
+ User-Agent:
1896
+ - mailgun-sdk-ruby/1.3.0
1897
+ Accept:
1898
+ - "*/*"
1899
+ Authorization:
1900
+ - Basic xxx==
1901
+ Content-Type:
1902
+ - application/x-www-form-urlencoded
1903
+ Accept-Encoding:
1904
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1905
+ response:
1906
+ status:
1907
+ code: 404
1908
+ message: Not Found
1909
+ headers:
1910
+ Access-Control-Allow-Credentials:
1911
+ - 'true'
1912
+ Access-Control-Allow-Origin:
1913
+ - "*"
1914
+ Cache-Control:
1915
+ - no-store
1916
+ Content-Length:
1917
+ - '31'
1918
+ Content-Type:
1919
+ - application/json; charset=utf-8
1920
+ Date:
1921
+ - Sun, 26 Jan 2025 07:29:14 GMT
1922
+ Strict-Transport-Security:
1923
+ - max-age=63072000; includeSubDomains
1924
+ X-Mailgun-Key-Id:
1925
+ - 90b59dea-f2d12a53
1926
+ X-Xss-Protection:
1927
+ - 1; mode=block
1928
+ body:
1929
+ encoding: UTF-8
1930
+ string: '{"message":"Domain not found"}
1931
+
1932
+ '
1933
+ http_version:
1934
+ recorded_at: Sun, 26 Jan 2025 07:29:14 GMT
1935
+ - request:
1936
+ method: put
1937
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/dkim_selector
1938
+ body:
1939
+ encoding: UTF-8
1940
+ string: dkim_selector=mailo1
1941
+ headers:
1942
+ User-Agent:
1943
+ - mailgun-sdk-ruby/1.3.0
1944
+ Accept:
1945
+ - "*/*"
1946
+ Authorization:
1947
+ - Basic xxx==
1948
+ Content-Type:
1949
+ - application/x-www-form-urlencoded
1950
+ Accept-Encoding:
1951
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1952
+ response:
1953
+ status:
1954
+ code: 404
1955
+ message: Not Found
1956
+ headers:
1957
+ Access-Control-Allow-Credentials:
1958
+ - 'true'
1959
+ Access-Control-Allow-Origin:
1960
+ - "*"
1961
+ Cache-Control:
1962
+ - no-store
1963
+ Content-Length:
1964
+ - '31'
1965
+ Content-Type:
1966
+ - application/json; charset=utf-8
1967
+ Date:
1968
+ - Sun, 26 Jan 2025 07:29:15 GMT
1969
+ Strict-Transport-Security:
1970
+ - max-age=63072000; includeSubDomains
1971
+ X-Mailgun-Key-Id:
1972
+ - 90b59dea-f2d12a53
1973
+ X-Xss-Protection:
1974
+ - 1; mode=block
1975
+ body:
1976
+ encoding: UTF-8
1977
+ string: '{"message":"Domain not found"}
1978
+
1979
+ '
1980
+ http_version:
1981
+ recorded_at: Sun, 26 Jan 2025 07:29:15 GMT
1982
+ - request:
1983
+ method: put
1984
+ uri: https://api.mailgun.net/v3/domains/integration-test.domain.invalid/web_prefix
1985
+ body:
1986
+ encoding: UTF-8
1987
+ string: web_prefix=email
1988
+ headers:
1989
+ User-Agent:
1990
+ - mailgun-sdk-ruby/1.3.0
1991
+ Accept:
1992
+ - "*/*"
1993
+ Authorization:
1994
+ - Basic xxx==
1995
+ Content-Type:
1996
+ - application/x-www-form-urlencoded
1997
+ Accept-Encoding:
1998
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1999
+ response:
2000
+ status:
2001
+ code: 404
2002
+ message: Not Found
2003
+ headers:
2004
+ Access-Control-Allow-Credentials:
2005
+ - 'true'
2006
+ Access-Control-Allow-Origin:
2007
+ - "*"
2008
+ Cache-Control:
2009
+ - no-store
2010
+ Content-Length:
2011
+ - '31'
2012
+ Content-Type:
2013
+ - application/json; charset=utf-8
2014
+ Date:
2015
+ - Sun, 26 Jan 2025 07:29:15 GMT
2016
+ Strict-Transport-Security:
2017
+ - max-age=63072000; includeSubDomains
2018
+ X-Mailgun-Key-Id:
2019
+ - 90b59dea-f2d12a53
2020
+ X-Xss-Protection:
2021
+ - 1; mode=block
2022
+ body:
2023
+ encoding: UTF-8
2024
+ string: '{"message":"Domain not found"}
2025
+
2026
+ '
2027
+ http_version:
2028
+ recorded_at: Sun, 26 Jan 2025 07:29:15 GMT
2029
+ - request:
2030
+ method: get
2031
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys
2032
+ body:
2033
+ encoding: US-ASCII
2034
+ string: ''
2035
+ headers:
2036
+ User-Agent:
2037
+ - mailgun-sdk-ruby/1.3.0
2038
+ Accept:
2039
+ - "*/*"
2040
+ Authorization:
2041
+ - Basic xxx==
2042
+ Accept-Encoding:
2043
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2044
+ response:
2045
+ status:
2046
+ code: 200
2047
+ message: OK
2048
+ headers:
2049
+ Access-Control-Allow-Credentials:
2050
+ - 'true'
2051
+ Access-Control-Allow-Origin:
2052
+ - "*"
2053
+ Cache-Control:
2054
+ - no-store
2055
+ Content-Length:
2056
+ - '13'
2057
+ Content-Type:
2058
+ - application/json; charset=utf-8
2059
+ Date:
2060
+ - Sun, 26 Jan 2025 07:29:16 GMT
2061
+ Strict-Transport-Security:
2062
+ - max-age=63072000; includeSubDomains
2063
+ X-Mailgun-Key-Id:
2064
+ - 90b59dea-f2d12a53
2065
+ X-Xss-Protection:
2066
+ - 1; mode=block
2067
+ body:
2068
+ encoding: UTF-8
2069
+ string: '{"items":[]}
2070
+
2071
+ '
2072
+ http_version:
2073
+ recorded_at: Sun, 26 Jan 2025 07:29:16 GMT
2074
+ - request:
2075
+ method: put
2076
+ uri: https://api.mailgun.net/v4/domains/integration-test.domain.invalid/keys/smtp/activate
2077
+ body:
2078
+ encoding: UTF-8
2079
+ string: ''
2080
+ headers:
2081
+ User-Agent:
2082
+ - mailgun-sdk-ruby/1.3.0
2083
+ Accept:
2084
+ - "*/*"
2085
+ Authorization:
2086
+ - Basic xxx==
2087
+ Content-Type:
2088
+ - application/x-www-form-urlencoded
2089
+ Accept-Encoding:
2090
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2091
+ response:
2092
+ status:
2093
+ code: 404
2094
+ message: Not Found
2095
+ headers:
2096
+ Access-Control-Allow-Credentials:
2097
+ - 'true'
2098
+ Access-Control-Allow-Origin:
2099
+ - "*"
2100
+ Cache-Control:
2101
+ - no-store
2102
+ Content-Length:
2103
+ - '35'
2104
+ Content-Type:
2105
+ - application/json; charset=utf-8
2106
+ Date:
2107
+ - Sun, 26 Jan 2025 07:29:17 GMT
2108
+ Strict-Transport-Security:
2109
+ - max-age=63072000; includeSubDomains
2110
+ X-Mailgun-Key-Id:
2111
+ - 90b59dea-f2d12a53
2112
+ X-Xss-Protection:
2113
+ - 1; mode=block
2114
+ body:
2115
+ encoding: UTF-8
2116
+ string: '{"message":"domain key not found"}
2117
+
2118
+ '
2119
+ http_version:
2120
+ recorded_at: Sun, 26 Jan 2025 07:29:17 GMT
2121
+ - request:
2122
+ method: delete
2123
+ uri: https://api.mailgun.net/v1/dkim/keys?params%5Bselector%5D=test&params%5Bsigning_domain%5D=integration-test.domain.invalid
2124
+ body:
2125
+ encoding: US-ASCII
2126
+ string: ''
2127
+ headers:
2128
+ User-Agent:
2129
+ - mailgun-sdk-ruby/1.3.0
2130
+ Accept:
2131
+ - "*/*"
2132
+ Authorization:
2133
+ - Basic xxx==
2134
+ Accept-Encoding:
2135
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2136
+ response:
2137
+ status:
2138
+ code: 400
2139
+ message: Bad Request
2140
+ headers:
2141
+ Access-Control-Allow-Credentials:
2142
+ - 'true'
2143
+ Access-Control-Allow-Origin:
2144
+ - "*"
2145
+ Cache-Control:
2146
+ - no-store
2147
+ Content-Length:
2148
+ - '58'
2149
+ Content-Type:
2150
+ - application/json; charset=utf-8
2151
+ Date:
2152
+ - Sun, 26 Jan 2025 07:29:17 GMT
2153
+ Strict-Transport-Security:
2154
+ - max-age=63072000; includeSubDomains
2155
+ X-Mailgun-Key-Id:
2156
+ - 90b59dea-f2d12a53
2157
+ X-Xss-Protection:
2158
+ - 1; mode=block
2159
+ body:
2160
+ encoding: UTF-8
2161
+ string: '{"message":"Missing mandatory parameter: signing_domain"}
2162
+
2163
+ '
2164
+ http_version:
2165
+ recorded_at: Sun, 26 Jan 2025 07:29:17 GMT
2166
+ - request:
2167
+ method: get
2168
+ uri: https://api.mailgun.net/v3/integration-test.domain.invalid/stats/total?duration=24h&event=clicked&start=Sun,%2023%20Dec%202023%2001:23:45%20JST
2169
+ body:
2170
+ encoding: US-ASCII
2171
+ string: ''
2172
+ headers:
2173
+ User-Agent:
2174
+ - mailgun-sdk-ruby/1.3.0
2175
+ Accept:
2176
+ - "*/*"
2177
+ Authorization:
2178
+ - Basic xxx==
2179
+ Accept-Encoding:
2180
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
2181
+ response:
2182
+ status:
2183
+ code: 404
2184
+ message: Not Found
2185
+ headers:
2186
+ Access-Control-Allow-Credentials:
2187
+ - 'true'
2188
+ Access-Control-Allow-Origin:
2189
+ - "*"
2190
+ Cache-Control:
2191
+ - no-store
2192
+ Content-Length:
2193
+ - '31'
2194
+ Content-Type:
2195
+ - application/json; charset=utf-8
2196
+ Date:
2197
+ - Sun, 26 Jan 2025 07:29:18 GMT
2198
+ Strict-Transport-Security:
2199
+ - max-age=63072000; includeSubDomains
2200
+ X-Xss-Protection:
2201
+ - 1; mode=block
2202
+ body:
2203
+ encoding: UTF-8
2204
+ string: '{"message":"domain not found"}
2205
+
2206
+ '
2207
+ http_version:
2208
+ recorded_at: Sun, 26 Jan 2025 07:29:18 GMT
1477
2209
  recorded_with: VCR 3.0.3