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
@@ -49,7 +49,7 @@ http_interactions:
|
|
49
49
|
"id": "<20160107220803.53710.46802@DOMAIN.TEST>",
|
50
50
|
"message": "Queued. Thank you."
|
51
51
|
}
|
52
|
-
http_version:
|
52
|
+
http_version:
|
53
53
|
recorded_at: Thu, 07 Jan 2016 22:08:03 GMT
|
54
54
|
- request:
|
55
55
|
method: post
|
@@ -102,6 +102,57 @@ http_interactions:
|
|
102
102
|
"id": "<20160107220803.17329.90097@DOMAIN.TEST>",
|
103
103
|
"message": "Queued. Thank you."
|
104
104
|
}
|
105
|
-
http_version:
|
105
|
+
http_version:
|
106
106
|
recorded_at: Thu, 07 Jan 2016 22:08:03 GMT
|
107
|
-
|
107
|
+
- request:
|
108
|
+
method: post
|
109
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/messages
|
110
|
+
body:
|
111
|
+
encoding: UTF-8
|
112
|
+
string: from=bob%40DOMAIN.TEST&o%3Atestmode=true&subject=Hash+Integration+Test&text=INTEGRATION+TESTING&to=sally%40DOMAIN.TEST
|
113
|
+
headers:
|
114
|
+
User-Agent:
|
115
|
+
- mailgun-sdk-ruby/1.3.0
|
116
|
+
Accept:
|
117
|
+
- "*/*"
|
118
|
+
Authorization:
|
119
|
+
- Basic xxx==
|
120
|
+
Content-Type:
|
121
|
+
- application/x-www-form-urlencoded
|
122
|
+
Accept-Encoding:
|
123
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
124
|
+
response:
|
125
|
+
status:
|
126
|
+
code: 403
|
127
|
+
message: Forbidden
|
128
|
+
headers:
|
129
|
+
Access-Control-Allow-Credentials:
|
130
|
+
- 'true'
|
131
|
+
Access-Control-Allow-Origin:
|
132
|
+
- "*"
|
133
|
+
Cache-Control:
|
134
|
+
- no-store
|
135
|
+
Content-Length:
|
136
|
+
- '236'
|
137
|
+
Content-Type:
|
138
|
+
- application/json; charset=utf-8
|
139
|
+
Date:
|
140
|
+
- Sun, 26 Jan 2025 07:29:31 GMT
|
141
|
+
Strict-Transport-Security:
|
142
|
+
- max-age=63072000; includeSubDomains
|
143
|
+
X-Mailgun-Key-Id:
|
144
|
+
- 90b59dea-f2d12a53
|
145
|
+
X-Server:
|
146
|
+
- influx
|
147
|
+
X-Xss-Protection:
|
148
|
+
- 1; mode=block
|
149
|
+
body:
|
150
|
+
encoding: UTF-8
|
151
|
+
string: '{"message":"Domain DOMAIN.TEST is not allowed to send: Sandbox subdomains
|
152
|
+
are for test purposes only. Please add your own domain or add the address
|
153
|
+
to authorized recipients in Account Settings."}
|
154
|
+
|
155
|
+
'
|
156
|
+
http_version:
|
157
|
+
recorded_at: Sun, 26 Jan 2025 07:29:31 GMT
|
158
|
+
recorded_with: VCR 3.0.3
|
data/vcr_cassettes/stats.yml
CHANGED
@@ -39,6 +39,51 @@ http_interactions:
|
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
41
|
string: '{"items":[],"total_count":10000}'
|
42
|
-
http_version:
|
42
|
+
http_version:
|
43
43
|
recorded_at: Thu, 07 Jan 2016 22:08:06 GMT
|
44
|
-
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: https://api.mailgun.net/v3/DOMAIN.TEST/stats?event=sent&limit=50&skip=10
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
headers:
|
51
|
+
User-Agent:
|
52
|
+
- mailgun-sdk-ruby/1.3.0
|
53
|
+
Accept:
|
54
|
+
- "*/*"
|
55
|
+
Authorization:
|
56
|
+
- Basic xxx==
|
57
|
+
Accept-Encoding:
|
58
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
|
+
response:
|
60
|
+
status:
|
61
|
+
code: 404
|
62
|
+
message: Not Found
|
63
|
+
headers:
|
64
|
+
Access-Control-Allow-Credentials:
|
65
|
+
- 'true'
|
66
|
+
Access-Control-Allow-Origin:
|
67
|
+
- "*"
|
68
|
+
Cache-Control:
|
69
|
+
- no-store
|
70
|
+
Content-Length:
|
71
|
+
- '19'
|
72
|
+
Content-Type:
|
73
|
+
- text/plain; charset=utf-8
|
74
|
+
Date:
|
75
|
+
- Sun, 26 Jan 2025 07:29:36 GMT
|
76
|
+
Strict-Transport-Security:
|
77
|
+
- max-age=63072000; includeSubDomains
|
78
|
+
X-Content-Type-Options:
|
79
|
+
- nosniff
|
80
|
+
X-Xss-Protection:
|
81
|
+
- 1; mode=block
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '404 page not found
|
85
|
+
|
86
|
+
'
|
87
|
+
http_version:
|
88
|
+
recorded_at: Sun, 26 Jan 2025 07:29:36 GMT
|
89
|
+
recorded_with: VCR 3.0.3
|