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.
- checksums.yaml +4 -4
- data/lib/mailgun/events/events.rb +4 -4
- data/lib/mailgun/version.rb +1 -1
- data/mailgun.gemspec +1 -1
- data/vcr_cassettes/bounces.yml +210 -1
- data/vcr_cassettes/complaints.yml +215 -5
- data/vcr_cassettes/domains.yml +777 -45
- data/vcr_cassettes/email_validation.yml +137 -8
- data/vcr_cassettes/events.yml +735 -2
- data/vcr_cassettes/exceptions.yml +48 -1
- data/vcr_cassettes/list_members.yml +343 -7
- data/vcr_cassettes/mailing_list.yml +301 -9
- data/vcr_cassettes/routes.yml +309 -1
- data/vcr_cassettes/send_message.yml +54 -3
- data/vcr_cassettes/stats.yml +47 -2
- data/vcr_cassettes/suppressions.yml +785 -0
- data/vcr_cassettes/unsubscribes.yml +215 -5
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cd509b2c1f407b43b66a9ef400bb94845be7bf358ee0516dfc64f8ef9f139b7
|
4
|
+
data.tar.gz: aad61052482bfb86b04ef0111a4495346d2b48cf046543c1c2fb600ca06916db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 452423c6da36c0f23ec08d3a613002027fa80c41f48c3b0a8072ccc35df1230d16512273bce584ea470dc9ba05f557e8a5a617a95efe5305e663d2de4f18b54b
|
7
|
+
data.tar.gz: 5b28c5065060bcff51c7711b0a4b32796fa2c79ef83251fff5a11fbd0a573c80f4d7018b289c42d9a3c273d21941ffd7fa8eee3dcd317bf7463a45fd4131899d
|
@@ -29,7 +29,7 @@ module Mailgun
|
|
29
29
|
# params - a Hash of query options and/or filters.
|
30
30
|
#
|
31
31
|
# Returns a Mailgun::Response object.
|
32
|
-
def get(params =
|
32
|
+
def get(params = {})
|
33
33
|
self.next(params)
|
34
34
|
end
|
35
35
|
|
@@ -40,7 +40,7 @@ module Mailgun
|
|
40
40
|
# params - a Hash of query options and/or filters.
|
41
41
|
#
|
42
42
|
# Returns a Mailgun::Response object.
|
43
|
-
def next(params =
|
43
|
+
def next(params = {})
|
44
44
|
get_events(params, @paging_next)
|
45
45
|
end
|
46
46
|
|
@@ -51,7 +51,7 @@ module Mailgun
|
|
51
51
|
# params - a Hash of query options and/or filters.
|
52
52
|
#
|
53
53
|
# Returns Mailgun::Response object.
|
54
|
-
def previous(params =
|
54
|
+
def previous(params = {})
|
55
55
|
get_events(params, @paging_previous)
|
56
56
|
end
|
57
57
|
|
@@ -75,7 +75,7 @@ module Mailgun
|
|
75
75
|
# paging - the URL key used for previous/next requests
|
76
76
|
#
|
77
77
|
# Returns a Mailgun.Response object.
|
78
|
-
def get_events(params =
|
78
|
+
def get_events(params = {}, paging = nil)
|
79
79
|
response = @client.get(construct_url(paging), params)
|
80
80
|
extract_paging(response)
|
81
81
|
response
|
data/lib/mailgun/version.rb
CHANGED
data/mailgun.gemspec
CHANGED
@@ -30,12 +30,12 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency 'bundler', '>= 1.16.2'
|
31
31
|
spec.add_development_dependency 'rspec', '~> 3.8.0'
|
32
32
|
spec.add_development_dependency 'rake', '~> 12.3.2'
|
33
|
-
spec.add_development_dependency 'mime-types'
|
34
33
|
spec.add_development_dependency 'webmock', '~> 3.7'
|
35
34
|
spec.add_development_dependency 'pry', '~> 0.11.3'
|
36
35
|
spec.add_development_dependency 'vcr', '~> 3.0.3'
|
37
36
|
spec.add_development_dependency 'simplecov', '~> 0.16.1'
|
38
37
|
spec.add_development_dependency 'rails'
|
38
|
+
spec.add_dependency 'mime-types'
|
39
39
|
spec.add_dependency 'faraday', "~> 2.1"
|
40
40
|
|
41
41
|
end
|
data/vcr_cassettes/bounces.yml
CHANGED
@@ -172,4 +172,213 @@ http_interactions:
|
|
172
172
|
address has been removed"}'
|
173
173
|
http_version:
|
174
174
|
recorded_at: Fri, 08 Jan 2016 20:33:30 GMT
|
175
|
-
|
175
|
+
- request:
|
176
|
+
method: post
|
177
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces
|
178
|
+
body:
|
179
|
+
encoding: UTF-8
|
180
|
+
string: address=integration-test%2Bemail%40DOMAIN.TEST&code=550&error=Integration+Test
|
181
|
+
headers:
|
182
|
+
User-Agent:
|
183
|
+
- mailgun-sdk-ruby/1.3.0
|
184
|
+
Accept:
|
185
|
+
- "*/*"
|
186
|
+
Authorization:
|
187
|
+
- Basic xxx==
|
188
|
+
Content-Type:
|
189
|
+
- application/x-www-form-urlencoded
|
190
|
+
Accept-Encoding:
|
191
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
192
|
+
response:
|
193
|
+
status:
|
194
|
+
code: 200
|
195
|
+
message: OK
|
196
|
+
headers:
|
197
|
+
Access-Control-Allow-Credentials:
|
198
|
+
- 'true'
|
199
|
+
Access-Control-Allow-Origin:
|
200
|
+
- "*"
|
201
|
+
Cache-Control:
|
202
|
+
- no-store
|
203
|
+
Content-Length:
|
204
|
+
- '145'
|
205
|
+
Content-Type:
|
206
|
+
- application/json; charset=utf-8
|
207
|
+
Date:
|
208
|
+
- Sun, 26 Jan 2025 07:29:04 GMT
|
209
|
+
Strict-Transport-Security:
|
210
|
+
- max-age=63072000; includeSubDomains
|
211
|
+
X-Mailgun-Key-Id:
|
212
|
+
- 90b59dea-f2d12a53
|
213
|
+
X-Request-Limit:
|
214
|
+
- '2500'
|
215
|
+
X-Request-Remaining:
|
216
|
+
- '2499'
|
217
|
+
X-Request-Reset:
|
218
|
+
- '1737876559178'
|
219
|
+
X-Xss-Protection:
|
220
|
+
- 1; mode=block
|
221
|
+
body:
|
222
|
+
encoding: UTF-8
|
223
|
+
string: '{"message":"Address has been added to the bounces table","address":"integration-test+email@DOMAIN.TEST"}
|
224
|
+
|
225
|
+
'
|
226
|
+
http_version:
|
227
|
+
recorded_at: Sun, 26 Jan 2025 07:29:04 GMT
|
228
|
+
- request:
|
229
|
+
method: get
|
230
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/integration-test+email@DOMAIN.TEST
|
231
|
+
body:
|
232
|
+
encoding: US-ASCII
|
233
|
+
string: ''
|
234
|
+
headers:
|
235
|
+
User-Agent:
|
236
|
+
- mailgun-sdk-ruby/1.3.0
|
237
|
+
Accept:
|
238
|
+
- "*/*"
|
239
|
+
Authorization:
|
240
|
+
- Basic xxx==
|
241
|
+
Accept-Encoding:
|
242
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
243
|
+
response:
|
244
|
+
status:
|
245
|
+
code: 200
|
246
|
+
message: OK
|
247
|
+
headers:
|
248
|
+
Access-Control-Allow-Credentials:
|
249
|
+
- 'true'
|
250
|
+
Access-Control-Allow-Origin:
|
251
|
+
- "*"
|
252
|
+
Cache-Control:
|
253
|
+
- no-store
|
254
|
+
Content-Length:
|
255
|
+
- '174'
|
256
|
+
Content-Type:
|
257
|
+
- application/json; charset=utf-8
|
258
|
+
Date:
|
259
|
+
- Sun, 26 Jan 2025 07:29:04 GMT
|
260
|
+
Strict-Transport-Security:
|
261
|
+
- max-age=63072000; includeSubDomains
|
262
|
+
X-Mailgun-Key-Id:
|
263
|
+
- 90b59dea-f2d12a53
|
264
|
+
X-Request-Limit:
|
265
|
+
- '2500'
|
266
|
+
X-Request-Remaining:
|
267
|
+
- '2498'
|
268
|
+
X-Request-Reset:
|
269
|
+
- '1737876559178'
|
270
|
+
X-Xss-Protection:
|
271
|
+
- 1; mode=block
|
272
|
+
body:
|
273
|
+
encoding: UTF-8
|
274
|
+
string: '{"address":"integration-test+email@DOMAIN.TEST","code":"550","error":"Integration
|
275
|
+
Test","created_at":"Sun, 26 Jan 2025 07:29:04 UTC"}
|
276
|
+
|
277
|
+
'
|
278
|
+
http_version:
|
279
|
+
recorded_at: Sun, 26 Jan 2025 07:29:04 GMT
|
280
|
+
- request:
|
281
|
+
method: get
|
282
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces
|
283
|
+
body:
|
284
|
+
encoding: US-ASCII
|
285
|
+
string: ''
|
286
|
+
headers:
|
287
|
+
User-Agent:
|
288
|
+
- mailgun-sdk-ruby/1.3.0
|
289
|
+
Accept:
|
290
|
+
- "*/*"
|
291
|
+
Authorization:
|
292
|
+
- Basic xxx==
|
293
|
+
Accept-Encoding:
|
294
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
295
|
+
response:
|
296
|
+
status:
|
297
|
+
code: 200
|
298
|
+
message: OK
|
299
|
+
headers:
|
300
|
+
Access-Control-Allow-Credentials:
|
301
|
+
- 'true'
|
302
|
+
Access-Control-Allow-Origin:
|
303
|
+
- "*"
|
304
|
+
Cache-Control:
|
305
|
+
- no-store
|
306
|
+
Content-Length:
|
307
|
+
- '858'
|
308
|
+
Content-Type:
|
309
|
+
- application/json; charset=utf-8
|
310
|
+
Date:
|
311
|
+
- Sun, 26 Jan 2025 07:29:05 GMT
|
312
|
+
Strict-Transport-Security:
|
313
|
+
- max-age=63072000; includeSubDomains
|
314
|
+
X-Mailgun-Key-Id:
|
315
|
+
- 90b59dea-f2d12a53
|
316
|
+
X-Request-Limit:
|
317
|
+
- '2500'
|
318
|
+
X-Request-Remaining:
|
319
|
+
- '2497'
|
320
|
+
X-Request-Reset:
|
321
|
+
- '1737876559178'
|
322
|
+
X-Xss-Protection:
|
323
|
+
- 1; mode=block
|
324
|
+
body:
|
325
|
+
encoding: UTF-8
|
326
|
+
string: '{"items":[{"address":"integration-test+email@DOMAIN.TEST","code":"550","error":"Integration
|
327
|
+
Test","created_at":"Sun, 26 Jan 2025 07:29:04 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?limit=100&term=","last":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?page=last&limit=100&term=","next":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?page=next&address=integration-test%2Bemail%40DOMAIN.TEST&limit=100&term=","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?page=previous&address=integration-test%2Bemail%40DOMAIN.TEST&limit=100&term="}}
|
328
|
+
|
329
|
+
'
|
330
|
+
http_version:
|
331
|
+
recorded_at: Sun, 26 Jan 2025 07:29:05 GMT
|
332
|
+
- request:
|
333
|
+
method: delete
|
334
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/integration-test+email@DOMAIN.TEST
|
335
|
+
body:
|
336
|
+
encoding: US-ASCII
|
337
|
+
string: ''
|
338
|
+
headers:
|
339
|
+
User-Agent:
|
340
|
+
- mailgun-sdk-ruby/1.3.0
|
341
|
+
Accept:
|
342
|
+
- "*/*"
|
343
|
+
Authorization:
|
344
|
+
- Basic xxx==
|
345
|
+
Accept-Encoding:
|
346
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
347
|
+
response:
|
348
|
+
status:
|
349
|
+
code: 200
|
350
|
+
message: OK
|
351
|
+
headers:
|
352
|
+
Access-Control-Allow-Credentials:
|
353
|
+
- 'true'
|
354
|
+
Access-Control-Allow-Origin:
|
355
|
+
- "*"
|
356
|
+
Cache-Control:
|
357
|
+
- no-store
|
358
|
+
Content-Length:
|
359
|
+
- '134'
|
360
|
+
Content-Type:
|
361
|
+
- application/json; charset=utf-8
|
362
|
+
Date:
|
363
|
+
- Sun, 26 Jan 2025 07:29:06 GMT
|
364
|
+
Strict-Transport-Security:
|
365
|
+
- max-age=63072000; includeSubDomains
|
366
|
+
X-Mailgun-Key-Id:
|
367
|
+
- 90b59dea-f2d12a53
|
368
|
+
X-Request-Limit:
|
369
|
+
- '2500'
|
370
|
+
X-Request-Remaining:
|
371
|
+
- '2496'
|
372
|
+
X-Request-Reset:
|
373
|
+
- '1737876559178'
|
374
|
+
X-Xss-Protection:
|
375
|
+
- 1; mode=block
|
376
|
+
body:
|
377
|
+
encoding: UTF-8
|
378
|
+
string: '{"address":"integration-test+email@DOMAIN.TEST","message":"Bounced
|
379
|
+
address has been removed"}
|
380
|
+
|
381
|
+
'
|
382
|
+
http_version:
|
383
|
+
recorded_at: Sun, 26 Jan 2025 07:29:06 GMT
|
384
|
+
recorded_with: VCR 3.0.3
|
@@ -44,7 +44,7 @@ http_interactions:
|
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Address
|
46
46
|
has been added to the complaints table"}'
|
47
|
-
http_version:
|
47
|
+
http_version:
|
48
48
|
recorded_at: Fri, 08 Jan 2016 20:31:59 GMT
|
49
49
|
- request:
|
50
50
|
method: get
|
@@ -86,7 +86,7 @@ http_interactions:
|
|
86
86
|
encoding: UTF-8
|
87
87
|
string: '{"address":"integration-test-email@DOMAIN.TEST","created_at":"Fri,
|
88
88
|
08 Jan 2016 20:31:59 UTC"}'
|
89
|
-
http_version:
|
89
|
+
http_version:
|
90
90
|
recorded_at: Fri, 08 Jan 2016 20:32:00 GMT
|
91
91
|
- request:
|
92
92
|
method: get
|
@@ -128,7 +128,7 @@ http_interactions:
|
|
128
128
|
encoding: UTF-8
|
129
129
|
string: '{"items":[{"address":"integration-test-email@DOMAIN.TEST","created_at":"Fri,
|
130
130
|
08 Jan 2016 20:31:59 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?limit=100","last":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?page=last\u0026limit=100","next":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?page=next\u0026address=integration-test-email%40DOMAIN.TEST\u0026limit=100","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?page=previous\u0026address=integration-test-email%40DOMAIN.TEST\u0026limit=100"}}'
|
131
|
-
http_version:
|
131
|
+
http_version:
|
132
132
|
recorded_at: Fri, 08 Jan 2016 20:32:00 GMT
|
133
133
|
- request:
|
134
134
|
method: delete
|
@@ -170,6 +170,216 @@ http_interactions:
|
|
170
170
|
encoding: UTF-8
|
171
171
|
string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Spam complaint
|
172
172
|
has been removed"}'
|
173
|
-
http_version:
|
173
|
+
http_version:
|
174
174
|
recorded_at: Fri, 08 Jan 2016 20:32:00 GMT
|
175
|
-
|
175
|
+
- request:
|
176
|
+
method: post
|
177
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints
|
178
|
+
body:
|
179
|
+
encoding: UTF-8
|
180
|
+
string: address=integration-test-email%40DOMAIN.TEST
|
181
|
+
headers:
|
182
|
+
User-Agent:
|
183
|
+
- mailgun-sdk-ruby/1.3.0
|
184
|
+
Accept:
|
185
|
+
- "*/*"
|
186
|
+
Authorization:
|
187
|
+
- Basic xxx==
|
188
|
+
Content-Type:
|
189
|
+
- application/x-www-form-urlencoded
|
190
|
+
Accept-Encoding:
|
191
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
192
|
+
response:
|
193
|
+
status:
|
194
|
+
code: 200
|
195
|
+
message: OK
|
196
|
+
headers:
|
197
|
+
Access-Control-Allow-Credentials:
|
198
|
+
- 'true'
|
199
|
+
Access-Control-Allow-Origin:
|
200
|
+
- "*"
|
201
|
+
Cache-Control:
|
202
|
+
- no-store
|
203
|
+
Content-Length:
|
204
|
+
- '148'
|
205
|
+
Content-Type:
|
206
|
+
- application/json; charset=utf-8
|
207
|
+
Date:
|
208
|
+
- Sun, 26 Jan 2025 07:29:06 GMT
|
209
|
+
Strict-Transport-Security:
|
210
|
+
- max-age=63072000; includeSubDomains
|
211
|
+
X-Mailgun-Key-Id:
|
212
|
+
- 90b59dea-f2d12a53
|
213
|
+
X-Request-Limit:
|
214
|
+
- '2500'
|
215
|
+
X-Request-Remaining:
|
216
|
+
- '2495'
|
217
|
+
X-Request-Reset:
|
218
|
+
- '1737876559178'
|
219
|
+
X-Xss-Protection:
|
220
|
+
- 1; mode=block
|
221
|
+
body:
|
222
|
+
encoding: UTF-8
|
223
|
+
string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Address
|
224
|
+
has been added to the complaints table"}
|
225
|
+
|
226
|
+
'
|
227
|
+
http_version:
|
228
|
+
recorded_at: Sun, 26 Jan 2025 07:29:07 GMT
|
229
|
+
- request:
|
230
|
+
method: get
|
231
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/integration-test-email@DOMAIN.TEST
|
232
|
+
body:
|
233
|
+
encoding: US-ASCII
|
234
|
+
string: ''
|
235
|
+
headers:
|
236
|
+
User-Agent:
|
237
|
+
- mailgun-sdk-ruby/1.3.0
|
238
|
+
Accept:
|
239
|
+
- "*/*"
|
240
|
+
Authorization:
|
241
|
+
- Basic xxx==
|
242
|
+
Accept-Encoding:
|
243
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
244
|
+
response:
|
245
|
+
status:
|
246
|
+
code: 200
|
247
|
+
message: OK
|
248
|
+
headers:
|
249
|
+
Access-Control-Allow-Credentials:
|
250
|
+
- 'true'
|
251
|
+
Access-Control-Allow-Origin:
|
252
|
+
- "*"
|
253
|
+
Cache-Control:
|
254
|
+
- no-store
|
255
|
+
Content-Length:
|
256
|
+
- '134'
|
257
|
+
Content-Type:
|
258
|
+
- application/json; charset=utf-8
|
259
|
+
Date:
|
260
|
+
- Sun, 26 Jan 2025 07:29:07 GMT
|
261
|
+
Strict-Transport-Security:
|
262
|
+
- max-age=63072000; includeSubDomains
|
263
|
+
X-Mailgun-Key-Id:
|
264
|
+
- 90b59dea-f2d12a53
|
265
|
+
X-Request-Limit:
|
266
|
+
- '2500'
|
267
|
+
X-Request-Remaining:
|
268
|
+
- '2494'
|
269
|
+
X-Request-Reset:
|
270
|
+
- '1737876559178'
|
271
|
+
X-Xss-Protection:
|
272
|
+
- 1; mode=block
|
273
|
+
body:
|
274
|
+
encoding: UTF-8
|
275
|
+
string: '{"address":"integration-test-email@DOMAIN.TEST","created_at":"Sun,
|
276
|
+
26 Jan 2025 07:29:06 UTC"}
|
277
|
+
|
278
|
+
'
|
279
|
+
http_version:
|
280
|
+
recorded_at: Sun, 26 Jan 2025 07:29:07 GMT
|
281
|
+
- request:
|
282
|
+
method: get
|
283
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints
|
284
|
+
body:
|
285
|
+
encoding: US-ASCII
|
286
|
+
string: ''
|
287
|
+
headers:
|
288
|
+
User-Agent:
|
289
|
+
- mailgun-sdk-ruby/1.3.0
|
290
|
+
Accept:
|
291
|
+
- "*/*"
|
292
|
+
Authorization:
|
293
|
+
- Basic xxx==
|
294
|
+
Accept-Encoding:
|
295
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
296
|
+
response:
|
297
|
+
status:
|
298
|
+
code: 200
|
299
|
+
message: OK
|
300
|
+
headers:
|
301
|
+
Access-Control-Allow-Credentials:
|
302
|
+
- 'true'
|
303
|
+
Access-Control-Allow-Origin:
|
304
|
+
- "*"
|
305
|
+
Cache-Control:
|
306
|
+
- no-store
|
307
|
+
Content-Length:
|
308
|
+
- '826'
|
309
|
+
Content-Type:
|
310
|
+
- application/json; charset=utf-8
|
311
|
+
Date:
|
312
|
+
- Sun, 26 Jan 2025 07:29:08 GMT
|
313
|
+
Strict-Transport-Security:
|
314
|
+
- max-age=63072000; includeSubDomains
|
315
|
+
X-Mailgun-Key-Id:
|
316
|
+
- 90b59dea-f2d12a53
|
317
|
+
X-Request-Limit:
|
318
|
+
- '2500'
|
319
|
+
X-Request-Remaining:
|
320
|
+
- '2493'
|
321
|
+
X-Request-Reset:
|
322
|
+
- '1737876559178'
|
323
|
+
X-Xss-Protection:
|
324
|
+
- 1; mode=block
|
325
|
+
body:
|
326
|
+
encoding: UTF-8
|
327
|
+
string: '{"items":[{"address":"integration-test-email@DOMAIN.TEST","created_at":"Sun,
|
328
|
+
26 Jan 2025 07:29:06 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?limit=100&term=","last":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?page=last&limit=100&term=","next":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?page=next&address=integration-test-email%40DOMAIN.TEST&limit=100&term=","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/complaints?page=previous&address=integration-test-email%40DOMAIN.TEST&limit=100&term="}}
|
329
|
+
|
330
|
+
'
|
331
|
+
http_version:
|
332
|
+
recorded_at: Sun, 26 Jan 2025 07:29:08 GMT
|
333
|
+
- request:
|
334
|
+
method: delete
|
335
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/complaints/integration-test-email@DOMAIN.TEST
|
336
|
+
body:
|
337
|
+
encoding: US-ASCII
|
338
|
+
string: ''
|
339
|
+
headers:
|
340
|
+
User-Agent:
|
341
|
+
- mailgun-sdk-ruby/1.3.0
|
342
|
+
Accept:
|
343
|
+
- "*/*"
|
344
|
+
Authorization:
|
345
|
+
- Basic xxx==
|
346
|
+
Accept-Encoding:
|
347
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
348
|
+
response:
|
349
|
+
status:
|
350
|
+
code: 200
|
351
|
+
message: OK
|
352
|
+
headers:
|
353
|
+
Access-Control-Allow-Credentials:
|
354
|
+
- 'true'
|
355
|
+
Access-Control-Allow-Origin:
|
356
|
+
- "*"
|
357
|
+
Cache-Control:
|
358
|
+
- no-store
|
359
|
+
Content-Length:
|
360
|
+
- '133'
|
361
|
+
Content-Type:
|
362
|
+
- application/json; charset=utf-8
|
363
|
+
Date:
|
364
|
+
- Sun, 26 Jan 2025 07:29:08 GMT
|
365
|
+
Strict-Transport-Security:
|
366
|
+
- max-age=63072000; includeSubDomains
|
367
|
+
X-Mailgun-Key-Id:
|
368
|
+
- 90b59dea-f2d12a53
|
369
|
+
X-Request-Limit:
|
370
|
+
- '2500'
|
371
|
+
X-Request-Remaining:
|
372
|
+
- '2492'
|
373
|
+
X-Request-Reset:
|
374
|
+
- '1737876559178'
|
375
|
+
X-Xss-Protection:
|
376
|
+
- 1; mode=block
|
377
|
+
body:
|
378
|
+
encoding: UTF-8
|
379
|
+
string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Spam complaint
|
380
|
+
has been removed"}
|
381
|
+
|
382
|
+
'
|
383
|
+
http_version:
|
384
|
+
recorded_at: Sun, 26 Jan 2025 07:29:08 GMT
|
385
|
+
recorded_with: VCR 3.0.3
|