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.
@@ -724,4 +724,789 @@ http_interactions:
724
724
  '
725
725
  http_version:
726
726
  recorded_at: Tue, 04 Feb 2020 15:16:07 GMT
727
+ - request:
728
+ method: post
729
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces
730
+ body:
731
+ 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"}]'
737
+ headers:
738
+ User-Agent:
739
+ - mailgun-sdk-ruby/1.3.0
740
+ Accept:
741
+ - "*/*"
742
+ Content-Type:
743
+ - application/json
744
+ Authorization:
745
+ - Basic xxx==
746
+ Accept-Encoding:
747
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
748
+ response:
749
+ status:
750
+ code: 200
751
+ message: OK
752
+ 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
+ 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
810
+ 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
828
+ body:
829
+ encoding: UTF-8
830
+ string: '{"address":"test1@example.com","message":"Bounced address has been
831
+ removed"}
832
+
833
+ '
834
+ http_version:
835
+ recorded_at: Sun, 26 Jan 2025 07:29:37 GMT
836
+ - request:
837
+ method: delete
838
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/test2@example.org
839
+ body:
840
+ encoding: US-ASCII
841
+ string: ''
842
+ headers:
843
+ User-Agent:
844
+ - mailgun-sdk-ruby/1.3.0
845
+ Accept:
846
+ - "*/*"
847
+ Authorization:
848
+ - Basic xxx==
849
+ Accept-Encoding:
850
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
851
+ response:
852
+ status:
853
+ code: 200
854
+ message: OK
855
+ 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
+ Content-Type:
865
+ - application/json; charset=utf-8
866
+ 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
914
+ 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
932
+ body:
933
+ encoding: UTF-8
934
+ string: '{"address":"test3@example.net","message":"Bounced address has been
935
+ removed"}
936
+
937
+ '
938
+ http_version:
939
+ recorded_at: Sun, 26 Jan 2025 07:29:38 GMT
940
+ - request:
941
+ method: delete
942
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/test4@example.info
943
+ body:
944
+ encoding: US-ASCII
945
+ string: ''
946
+ headers:
947
+ User-Agent:
948
+ - mailgun-sdk-ruby/1.3.0
949
+ Accept:
950
+ - "*/*"
951
+ Authorization:
952
+ - Basic xxx==
953
+ Accept-Encoding:
954
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
955
+ response:
956
+ status:
957
+ code: 200
958
+ message: OK
959
+ 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
+ Content-Type:
969
+ - application/json; charset=utf-8
970
+ 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
1020
+ 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
1038
+ body:
1039
+ encoding: UTF-8
1040
+ string: '{"message":"4 addresses have been added to the unsubscribes table"}
1041
+
1042
+ '
1043
+ http_version:
1044
+ recorded_at: Sun, 26 Jan 2025 07:29:40 GMT
1045
+ - request:
1046
+ method: delete
1047
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test1@example.com
1048
+ body:
1049
+ encoding: US-ASCII
1050
+ string: ''
1051
+ headers:
1052
+ User-Agent:
1053
+ - mailgun-sdk-ruby/1.3.0
1054
+ Accept:
1055
+ - "*/*"
1056
+ Authorization:
1057
+ - Basic xxx==
1058
+ Accept-Encoding:
1059
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1060
+ response:
1061
+ status:
1062
+ code: 200
1063
+ message: OK
1064
+ 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
+ Content-Type:
1074
+ - application/json; charset=utf-8
1075
+ 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
1089
+ body:
1090
+ encoding: UTF-8
1091
+ string: '{"address":"test1@example.com","message":"Unsubscribe event has been
1092
+ removed"}
1093
+
1094
+ '
1095
+ http_version:
1096
+ recorded_at: Sun, 26 Jan 2025 07:29:40 GMT
1097
+ - request:
1098
+ method: delete
1099
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test2@example.org
1100
+ body:
1101
+ encoding: US-ASCII
1102
+ string: ''
1103
+ headers:
1104
+ User-Agent:
1105
+ - mailgun-sdk-ruby/1.3.0
1106
+ Accept:
1107
+ - "*/*"
1108
+ Authorization:
1109
+ - Basic xxx==
1110
+ Accept-Encoding:
1111
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1112
+ response:
1113
+ status:
1114
+ code: 200
1115
+ message: OK
1116
+ 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
+ Content-Type:
1126
+ - application/json; charset=utf-8
1127
+ 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
1141
+ body:
1142
+ encoding: UTF-8
1143
+ string: '{"address":"test2@example.org","message":"Unsubscribe event has been
1144
+ removed"}
1145
+
1146
+ '
1147
+ http_version:
1148
+ recorded_at: Sun, 26 Jan 2025 07:29:41 GMT
1149
+ - request:
1150
+ method: delete
1151
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test3@example.net
1152
+ body:
1153
+ encoding: US-ASCII
1154
+ string: ''
1155
+ headers:
1156
+ User-Agent:
1157
+ - mailgun-sdk-ruby/1.3.0
1158
+ Accept:
1159
+ - "*/*"
1160
+ Authorization:
1161
+ - Basic xxx==
1162
+ Accept-Encoding:
1163
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1164
+ response:
1165
+ status:
1166
+ code: 200
1167
+ message: OK
1168
+ 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
+ Content-Type:
1178
+ - application/json; charset=utf-8
1179
+ 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
1193
+ body:
1194
+ encoding: UTF-8
1195
+ string: '{"address":"test3@example.net","message":"Unsubscribe event has been
1196
+ removed"}
1197
+
1198
+ '
1199
+ http_version:
1200
+ recorded_at: Sun, 26 Jan 2025 07:29:41 GMT
1201
+ - request:
1202
+ method: delete
1203
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/test4@example.info
1204
+ body:
1205
+ encoding: US-ASCII
1206
+ string: ''
1207
+ headers:
1208
+ User-Agent:
1209
+ - mailgun-sdk-ruby/1.3.0
1210
+ Accept:
1211
+ - "*/*"
1212
+ Authorization:
1213
+ - Basic xxx==
1214
+ Accept-Encoding:
1215
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1216
+ response:
1217
+ status:
1218
+ code: 200
1219
+ message: OK
1220
+ 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
+ Content-Type:
1230
+ - application/json; charset=utf-8
1231
+ 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
1281
+ 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
1299
+ body:
1300
+ encoding: UTF-8
1301
+ string: '{"message":"4 complaint addresses have been added to the complaints
1302
+ table"}
1303
+
1304
+ '
1305
+ http_version:
1306
+ recorded_at: Sun, 26 Jan 2025 07:29:43 GMT
1307
+ - request:
1308
+ method: delete
1309
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test1@example.com
1310
+ body:
1311
+ encoding: US-ASCII
1312
+ string: ''
1313
+ headers:
1314
+ User-Agent:
1315
+ - mailgun-sdk-ruby/1.3.0
1316
+ Accept:
1317
+ - "*/*"
1318
+ Authorization:
1319
+ - Basic xxx==
1320
+ Accept-Encoding:
1321
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1322
+ response:
1323
+ status:
1324
+ code: 200
1325
+ message: OK
1326
+ 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
+ Content-Type:
1336
+ - application/json; charset=utf-8
1337
+ 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
1351
+ body:
1352
+ encoding: UTF-8
1353
+ string: '{"address":"test1@example.com","message":"Spam complaint has been removed"}
1354
+
1355
+ '
1356
+ http_version:
1357
+ recorded_at: Sun, 26 Jan 2025 07:29:43 GMT
1358
+ - request:
1359
+ method: delete
1360
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test2@example.org
1361
+ body:
1362
+ encoding: US-ASCII
1363
+ string: ''
1364
+ headers:
1365
+ User-Agent:
1366
+ - mailgun-sdk-ruby/1.3.0
1367
+ Accept:
1368
+ - "*/*"
1369
+ Authorization:
1370
+ - Basic xxx==
1371
+ Accept-Encoding:
1372
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1373
+ response:
1374
+ status:
1375
+ code: 200
1376
+ message: OK
1377
+ 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
+ Date:
1389
+ - Sun, 26 Jan 2025 07:29:44 GMT
1390
+ Strict-Transport-Security:
1391
+ - 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
+ X-Xss-Protection:
1401
+ - 1; mode=block
1402
+ body:
1403
+ encoding: UTF-8
1404
+ string: '{"address":"test2@example.org","message":"Spam complaint has been removed"}
1405
+
1406
+ '
1407
+ http_version:
1408
+ recorded_at: Sun, 26 Jan 2025 07:29:44 GMT
1409
+ - request:
1410
+ method: delete
1411
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test3@example.net
1412
+ body:
1413
+ encoding: US-ASCII
1414
+ string: ''
1415
+ headers:
1416
+ User-Agent:
1417
+ - mailgun-sdk-ruby/1.3.0
1418
+ Accept:
1419
+ - "*/*"
1420
+ Authorization:
1421
+ - Basic xxx==
1422
+ Accept-Encoding:
1423
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1424
+ response:
1425
+ status:
1426
+ code: 200
1427
+ message: OK
1428
+ 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
+ Date:
1440
+ - Sun, 26 Jan 2025 07:29:45 GMT
1441
+ 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'
1451
+ X-Xss-Protection:
1452
+ - 1; mode=block
1453
+ body:
1454
+ encoding: UTF-8
1455
+ string: '{"address":"test3@example.net","message":"Spam complaint has been removed"}
1456
+
1457
+ '
1458
+ http_version:
1459
+ recorded_at: Sun, 26 Jan 2025 07:29:45 GMT
1460
+ - request:
1461
+ method: delete
1462
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/test4@example.info
1463
+ body:
1464
+ encoding: US-ASCII
1465
+ string: ''
1466
+ headers:
1467
+ User-Agent:
1468
+ - mailgun-sdk-ruby/1.3.0
1469
+ Accept:
1470
+ - "*/*"
1471
+ Authorization:
1472
+ - Basic xxx==
1473
+ Accept-Encoding:
1474
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1475
+ response:
1476
+ status:
1477
+ code: 200
1478
+ message: OK
1479
+ 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
+ Date:
1491
+ - Sun, 26 Jan 2025 07:29:45 GMT
1492
+ 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'
1502
+ X-Xss-Protection:
1503
+ - 1; mode=block
1504
+ body:
1505
+ encoding: UTF-8
1506
+ string: '{"address":"test4@example.info","message":"Spam complaint has been
1507
+ removed"}
1508
+
1509
+ '
1510
+ http_version:
1511
+ recorded_at: Sun, 26 Jan 2025 07:29:45 GMT
727
1512
  recorded_with: VCR 3.0.3