mailgun-ruby 1.3.0 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -0
- data/README.md +1 -2
- data/docs/MessageBuilder.md +12 -0
- data/lib/mailgun/client.rb +1 -0
- data/lib/mailgun/domains/domains.rb +19 -0
- data/lib/mailgun/events/events.rb +4 -4
- data/lib/mailgun/version.rb +1 -1
- data/mailgun.gemspec +1 -1
- data/spec/integration/routes_spec.rb +17 -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 +246 -246
- 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 +17 -18
- data/docs/Messages.md +0 -107
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- "*/*"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
@@ -33,7 +33,7 @@ http_interactions:
|
|
33
33
|
Content-Disposition:
|
34
34
|
- inline
|
35
35
|
Access-Control-Allow-Origin:
|
36
|
-
-
|
36
|
+
- "*"
|
37
37
|
Access-Control-Max-Age:
|
38
38
|
- '600'
|
39
39
|
Access-Control-Allow-Methods:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
string: ''
|
63
63
|
headers:
|
64
64
|
Accept:
|
65
|
-
-
|
65
|
+
- "*/*"
|
66
66
|
Accept-Encoding:
|
67
67
|
- gzip, deflate
|
68
68
|
User-Agent:
|
@@ -87,7 +87,7 @@ http_interactions:
|
|
87
87
|
Content-Disposition:
|
88
88
|
- inline
|
89
89
|
Access-Control-Allow-Origin:
|
90
|
-
-
|
90
|
+
- "*"
|
91
91
|
Access-Control-Max-Age:
|
92
92
|
- '600'
|
93
93
|
Access-Control-Allow-Methods:
|
@@ -117,7 +117,7 @@ http_interactions:
|
|
117
117
|
string: ''
|
118
118
|
headers:
|
119
119
|
Accept:
|
120
|
-
-
|
120
|
+
- "*/*"
|
121
121
|
Accept-Encoding:
|
122
122
|
- gzip, deflate
|
123
123
|
User-Agent:
|
@@ -142,7 +142,7 @@ http_interactions:
|
|
142
142
|
Content-Disposition:
|
143
143
|
- inline
|
144
144
|
Access-Control-Allow-Origin:
|
145
|
-
-
|
145
|
+
- "*"
|
146
146
|
Access-Control-Max-Age:
|
147
147
|
- '600'
|
148
148
|
Access-Control-Allow-Methods:
|
@@ -172,7 +172,7 @@ http_interactions:
|
|
172
172
|
string: ''
|
173
173
|
headers:
|
174
174
|
Accept:
|
175
|
-
-
|
175
|
+
- "*/*"
|
176
176
|
Accept-Encoding:
|
177
177
|
- gzip, deflate
|
178
178
|
User-Agent:
|
@@ -189,7 +189,7 @@ http_interactions:
|
|
189
189
|
Access-Control-Allow-Methods:
|
190
190
|
- GET, POST, PUT, DELETE, OPTIONS
|
191
191
|
Access-Control-Allow-Origin:
|
192
|
-
-
|
192
|
+
- "*"
|
193
193
|
Access-Control-Max-Age:
|
194
194
|
- '600'
|
195
195
|
Content-Disposition:
|
@@ -212,4 +212,133 @@ http_interactions:
|
|
212
212
|
"alice"}}'
|
213
213
|
http_version:
|
214
214
|
recorded_at: Tue, 12 Sep 2017 16:55:09 GMT
|
215
|
+
- request:
|
216
|
+
method: get
|
217
|
+
uri: https://api.mailgun.net/v4/address/validate?address=alice@mailgun.net
|
218
|
+
body:
|
219
|
+
encoding: US-ASCII
|
220
|
+
string: ''
|
221
|
+
headers:
|
222
|
+
User-Agent:
|
223
|
+
- mailgun-sdk-ruby/1.3.0
|
224
|
+
Accept:
|
225
|
+
- "*/*"
|
226
|
+
Authorization:
|
227
|
+
- Basic YXBpOg==
|
228
|
+
Accept-Encoding:
|
229
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
230
|
+
response:
|
231
|
+
status:
|
232
|
+
code: 401
|
233
|
+
message: Unauthorized
|
234
|
+
headers:
|
235
|
+
Access-Control-Allow-Credentials:
|
236
|
+
- 'true'
|
237
|
+
Access-Control-Allow-Origin:
|
238
|
+
- "*"
|
239
|
+
Cache-Control:
|
240
|
+
- no-store
|
241
|
+
Content-Length:
|
242
|
+
- '39'
|
243
|
+
Content-Type:
|
244
|
+
- application/json
|
245
|
+
Date:
|
246
|
+
- Sun, 26 Jan 2025 07:29:18 GMT
|
247
|
+
Strict-Transport-Security:
|
248
|
+
- max-age=63072000; includeSubDomains
|
249
|
+
Www-Authenticate:
|
250
|
+
- Basic realm="MG API"
|
251
|
+
X-Xss-Protection:
|
252
|
+
- 1; mode=block
|
253
|
+
body:
|
254
|
+
encoding: UTF-8
|
255
|
+
string: '{"message":"Need authorization header"}'
|
256
|
+
http_version:
|
257
|
+
recorded_at: Sun, 26 Jan 2025 07:29:18 GMT
|
258
|
+
- request:
|
259
|
+
method: get
|
260
|
+
uri: https://api.mailgun.net/v4/address/validate?address=alice@mailgun.net&mailbox_verification=true
|
261
|
+
body:
|
262
|
+
encoding: US-ASCII
|
263
|
+
string: ''
|
264
|
+
headers:
|
265
|
+
User-Agent:
|
266
|
+
- mailgun-sdk-ruby/1.3.0
|
267
|
+
Accept:
|
268
|
+
- "*/*"
|
269
|
+
Authorization:
|
270
|
+
- Basic YXBpOg==
|
271
|
+
Accept-Encoding:
|
272
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
273
|
+
response:
|
274
|
+
status:
|
275
|
+
code: 401
|
276
|
+
message: Unauthorized
|
277
|
+
headers:
|
278
|
+
Access-Control-Allow-Credentials:
|
279
|
+
- 'true'
|
280
|
+
Access-Control-Allow-Origin:
|
281
|
+
- "*"
|
282
|
+
Cache-Control:
|
283
|
+
- no-store
|
284
|
+
Content-Length:
|
285
|
+
- '39'
|
286
|
+
Content-Type:
|
287
|
+
- application/json
|
288
|
+
Date:
|
289
|
+
- Sun, 26 Jan 2025 07:29:19 GMT
|
290
|
+
Strict-Transport-Security:
|
291
|
+
- max-age=63072000; includeSubDomains
|
292
|
+
Www-Authenticate:
|
293
|
+
- Basic realm="MG API"
|
294
|
+
X-Xss-Protection:
|
295
|
+
- 1; mode=block
|
296
|
+
body:
|
297
|
+
encoding: UTF-8
|
298
|
+
string: '{"message":"Need authorization header"}'
|
299
|
+
http_version:
|
300
|
+
recorded_at: Sun, 26 Jan 2025 07:29:19 GMT
|
301
|
+
- request:
|
302
|
+
method: get
|
303
|
+
uri: https://api.mailgun.net/v4/address/validate?address=example.org
|
304
|
+
body:
|
305
|
+
encoding: US-ASCII
|
306
|
+
string: ''
|
307
|
+
headers:
|
308
|
+
User-Agent:
|
309
|
+
- mailgun-sdk-ruby/1.3.0
|
310
|
+
Accept:
|
311
|
+
- "*/*"
|
312
|
+
Authorization:
|
313
|
+
- Basic YXBpOg==
|
314
|
+
Accept-Encoding:
|
315
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
316
|
+
response:
|
317
|
+
status:
|
318
|
+
code: 401
|
319
|
+
message: Unauthorized
|
320
|
+
headers:
|
321
|
+
Access-Control-Allow-Credentials:
|
322
|
+
- 'true'
|
323
|
+
Access-Control-Allow-Origin:
|
324
|
+
- "*"
|
325
|
+
Cache-Control:
|
326
|
+
- no-store
|
327
|
+
Content-Length:
|
328
|
+
- '39'
|
329
|
+
Content-Type:
|
330
|
+
- application/json
|
331
|
+
Date:
|
332
|
+
- Sun, 26 Jan 2025 07:29:20 GMT
|
333
|
+
Strict-Transport-Security:
|
334
|
+
- max-age=63072000; includeSubDomains
|
335
|
+
Www-Authenticate:
|
336
|
+
- Basic realm="MG API"
|
337
|
+
X-Xss-Protection:
|
338
|
+
- 1; mode=block
|
339
|
+
body:
|
340
|
+
encoding: UTF-8
|
341
|
+
string: '{"message":"Need authorization header"}'
|
342
|
+
http_version:
|
343
|
+
recorded_at: Sun, 26 Jan 2025 07:29:20 GMT
|
215
344
|
recorded_with: VCR 3.0.3
|