pew_pew 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/.gitignore +19 -0
  2. data/.rspec +2 -0
  3. data/.yardopts +1 -0
  4. data/Gemfile +3 -0
  5. data/LICENSE +22 -0
  6. data/README.md +84 -0
  7. data/Rakefile +3 -0
  8. data/lib/pew_pew.rb +32 -0
  9. data/lib/pew_pew/client.rb +90 -0
  10. data/lib/pew_pew/config.rb +15 -0
  11. data/lib/pew_pew/domain.rb +9 -0
  12. data/lib/pew_pew/resource.rb +52 -0
  13. data/lib/pew_pew/resources/bounces.rb +41 -0
  14. data/lib/pew_pew/resources/campaigns.rb +141 -0
  15. data/lib/pew_pew/resources/complaints.rb +40 -0
  16. data/lib/pew_pew/resources/lists.rb +121 -0
  17. data/lib/pew_pew/resources/logs.rb +12 -0
  18. data/lib/pew_pew/resources/mailboxes.rb +41 -0
  19. data/lib/pew_pew/resources/messages.rb +37 -0
  20. data/lib/pew_pew/resources/routes.rb +57 -0
  21. data/lib/pew_pew/resources/stats.rb +12 -0
  22. data/lib/pew_pew/resources/unsubscribes.rb +43 -0
  23. data/lib/pew_pew/response.rb +11 -0
  24. data/lib/pew_pew/version.rb +3 -0
  25. data/pew_pew.gemspec +20 -0
  26. data/spec/fixtures/bounces.yml +144 -0
  27. data/spec/fixtures/campaigns.yml +368 -0
  28. data/spec/fixtures/complaints.yml +142 -0
  29. data/spec/fixtures/image.png +0 -0
  30. data/spec/fixtures/lists.yml +403 -0
  31. data/spec/fixtures/logs.yml +133 -0
  32. data/spec/fixtures/mailboxes.yml +141 -0
  33. data/spec/fixtures/messages.yml +196 -0
  34. data/spec/fixtures/mime.eml +34 -0
  35. data/spec/fixtures/routes.yml +225 -0
  36. data/spec/fixtures/stats.yml +61 -0
  37. data/spec/fixtures/unsubscribes.yml +219 -0
  38. data/spec/pew_pew/client_spec.rb +51 -0
  39. data/spec/pew_pew/config_spec.rb +38 -0
  40. data/spec/pew_pew/resource_spec.rb +46 -0
  41. data/spec/pew_pew/resources/bounces_spec.rb +78 -0
  42. data/spec/pew_pew/resources/campaigns_spec.rb +228 -0
  43. data/spec/pew_pew/resources/complaints_spec.rb +69 -0
  44. data/spec/pew_pew/resources/lists_spec.rb +283 -0
  45. data/spec/pew_pew/resources/logs_spec.rb +28 -0
  46. data/spec/pew_pew/resources/mailboxes_spec.rb +59 -0
  47. data/spec/pew_pew/resources/messages_spec.rb +53 -0
  48. data/spec/pew_pew/resources/routes_spec.rb +135 -0
  49. data/spec/pew_pew/resources/stats_spec.rb +26 -0
  50. data/spec/pew_pew/resources/unsubscribes_spec.rb +99 -0
  51. data/spec/pew_pew/response_spec.rb +21 -0
  52. data/spec/pew_pew_spec.rb +13 -0
  53. data/spec/spec_helper.rb +17 -0
  54. data/spec/support/contexts/api_requests.rb +23 -0
  55. data/spec/support/contexts/domain_resource.rb +17 -0
  56. data/spec/support/vcr.rb +6 -0
  57. metadata +211 -0
Binary file
@@ -0,0 +1,403 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.mailgun.net/v2/lists
6
+ body:
7
+ encoding: US-ASCII
8
+ string: address=newsletter%40pewpew.mailgun.org&description=Weekly+News+and+Updates&name=Newsletter
9
+ headers:
10
+ User-Agent:
11
+ - PewPew Ruby Gem 0.0.1
12
+ Authorization:
13
+ - Basic <%= basic_auth %>
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ server:
22
+ - nginx/1.0.14
23
+ date:
24
+ - Mon, 04 Jun 2012 16:56:58 GMT
25
+ content-type:
26
+ - application/json
27
+ connection:
28
+ - close
29
+ content-length:
30
+ - '259'
31
+ content-disposition:
32
+ - inline
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ! "{\n \"message\": \"Mailing list has been created\",\n \"list\":
36
+ {\n \"created_at\": \"Mon, 04 Jun 2012 16:56:58 GMT\",\n \"description\":
37
+ \"Weekly News and Updates\",\n \"members_count\": 0,\n \"name\": \"Newsletter\",\n
38
+ \ \"address\": \"newsletter@pewpew.mailgun.org\"\n }\n}"
39
+ http_version:
40
+ recorded_at: Mon, 04 Jun 2012 16:56:58 GMT
41
+ - request:
42
+ method: get
43
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org
44
+ body:
45
+ encoding: US-ASCII
46
+ string: ''
47
+ headers:
48
+ User-Agent:
49
+ - PewPew Ruby Gem 0.0.1
50
+ Authorization:
51
+ - Basic <%= basic_auth %>
52
+ response:
53
+ status:
54
+ code: 200
55
+ message:
56
+ headers:
57
+ server:
58
+ - nginx/1.0.14
59
+ date:
60
+ - Mon, 04 Jun 2012 17:00:55 GMT
61
+ content-type:
62
+ - application/json
63
+ connection:
64
+ - close
65
+ content-length:
66
+ - '213'
67
+ content-disposition:
68
+ - inline
69
+ body:
70
+ encoding: US-ASCII
71
+ string: ! "{\n \"list\": {\n \"created_at\": \"Mon, 04 Jun 2012 16:56:58
72
+ GMT\",\n \"description\": \"Weekly News and Updates\",\n \"members_count\":
73
+ 0,\n \"name\": \"Newsletter\",\n \"address\": \"newsletter@pewpew.mailgun.org\"\n
74
+ \ }\n}"
75
+ http_version:
76
+ recorded_at: Mon, 04 Jun 2012 17:00:55 GMT
77
+ - request:
78
+ method: get
79
+ uri: https://api.mailgun.net/v2/lists
80
+ body:
81
+ encoding: US-ASCII
82
+ string: ''
83
+ headers:
84
+ User-Agent:
85
+ - PewPew Ruby Gem 0.0.1
86
+ Authorization:
87
+ - Basic <%= basic_auth %>
88
+ response:
89
+ status:
90
+ code: 200
91
+ message:
92
+ headers:
93
+ server:
94
+ - nginx/1.0.14
95
+ date:
96
+ - Mon, 04 Jun 2012 17:01:11 GMT
97
+ content-type:
98
+ - application/json
99
+ connection:
100
+ - close
101
+ content-length:
102
+ - '256'
103
+ content-disposition:
104
+ - inline
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ! "{\n \"items\": [\n {\n \"created_at\": \"Mon, 04 Jun 2012
108
+ 16:56:58 GMT\",\n \"description\": \"Weekly News and Updates\",\n \"members_count\":
109
+ 0,\n \"name\": \"Newsletter\",\n \"address\": \"newsletter@pewpew.mailgun.org\"\n
110
+ \ }\n ],\n \"total_count\": 1\n}"
111
+ http_version:
112
+ recorded_at: Mon, 04 Jun 2012 17:01:11 GMT
113
+ - request:
114
+ method: put
115
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org
116
+ body:
117
+ encoding: US-ASCII
118
+ string: description=Monthly+News+and+Updates
119
+ headers:
120
+ User-Agent:
121
+ - PewPew Ruby Gem 0.0.1
122
+ Authorization:
123
+ - Basic <%= basic_auth %>
124
+ Content-Type:
125
+ - application/x-www-form-urlencoded
126
+ response:
127
+ status:
128
+ code: 200
129
+ message:
130
+ headers:
131
+ server:
132
+ - nginx/1.0.14
133
+ date:
134
+ - Mon, 04 Jun 2012 17:01:48 GMT
135
+ content-type:
136
+ - application/json
137
+ connection:
138
+ - close
139
+ content-length:
140
+ - '260'
141
+ content-disposition:
142
+ - inline
143
+ body:
144
+ encoding: US-ASCII
145
+ string: ! "{\n \"message\": \"Mailing list has been updated\",\n \"list\":
146
+ {\n \"created_at\": \"Mon, 04 Jun 2012 16:56:58 GMT\",\n \"description\":
147
+ \"Monthly News and Updates\",\n \"members_count\": 0,\n \"name\": \"Newsletter\",\n
148
+ \ \"address\": \"newsletter@pewpew.mailgun.org\"\n }\n}"
149
+ http_version:
150
+ recorded_at: Mon, 04 Jun 2012 17:01:48 GMT
151
+ - request:
152
+ method: delete
153
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org
154
+ body:
155
+ encoding: US-ASCII
156
+ string: ''
157
+ headers:
158
+ User-Agent:
159
+ - PewPew Ruby Gem 0.0.1
160
+ Authorization:
161
+ - Basic <%= basic_auth %>
162
+ response:
163
+ status:
164
+ code: 200
165
+ message:
166
+ headers:
167
+ server:
168
+ - nginx/1.0.14
169
+ date:
170
+ - Mon, 04 Jun 2012 17:02:31 GMT
171
+ content-type:
172
+ - application/json
173
+ connection:
174
+ - close
175
+ content-length:
176
+ - '94'
177
+ content-disposition:
178
+ - inline
179
+ body:
180
+ encoding: US-ASCII
181
+ string: ! "{\n \"message\": \"Mailing list has been deleted\",\n \"address\":
182
+ \"newsletter@pewpew.mailgun.org\"\n}"
183
+ http_version:
184
+ recorded_at: Mon, 04 Jun 2012 17:02:31 GMT
185
+ - request:
186
+ method: get
187
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org/stats
188
+ body:
189
+ encoding: US-ASCII
190
+ string: ''
191
+ headers:
192
+ User-Agent:
193
+ - PewPew Ruby Gem 0.0.1
194
+ Authorization:
195
+ - Basic <%= basic_auth %>
196
+ response:
197
+ status:
198
+ code: 200
199
+ message:
200
+ headers:
201
+ server:
202
+ - nginx/1.0.14
203
+ date:
204
+ - Mon, 04 Jun 2012 17:10:01 GMT
205
+ content-type:
206
+ - application/json
207
+ connection:
208
+ - close
209
+ content-length:
210
+ - '278'
211
+ content-disposition:
212
+ - inline
213
+ body:
214
+ encoding: US-ASCII
215
+ string: ! "{\n \"unique\": {\n \"clicked\": {\n \"recipient\": 0,\n
216
+ \ \"link\": 0\n },\n \"opened\": {\n \"recipient\": 0\n }\n
217
+ \ },\n \"total\": {\n \"complained\": 0,\n \"delivered\": 0,\n \"clicked\":
218
+ 0,\n \"opened\": 0,\n \"unsubscribed\": 0,\n \"bounced\": 0,\n \"dropped\":
219
+ 0\n }\n}"
220
+ http_version:
221
+ recorded_at: Mon, 04 Jun 2012 17:10:01 GMT
222
+ - request:
223
+ method: post
224
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org/members
225
+ body:
226
+ encoding: US-ASCII
227
+ string: address=member%40example.com&name=Member+Name&vars=%7B%22awesome%22%3Atrue%7D
228
+ headers:
229
+ User-Agent:
230
+ - PewPew Ruby Gem 0.0.1
231
+ Authorization:
232
+ - Basic <%= basic_auth %>
233
+ Content-Type:
234
+ - application/x-www-form-urlencoded
235
+ response:
236
+ status:
237
+ code: 200
238
+ message:
239
+ headers:
240
+ server:
241
+ - nginx/1.0.14
242
+ date:
243
+ - Mon, 04 Jun 2012 17:28:47 GMT
244
+ content-type:
245
+ - application/json
246
+ connection:
247
+ - close
248
+ content-length:
249
+ - '204'
250
+ content-disposition:
251
+ - inline
252
+ body:
253
+ encoding: US-ASCII
254
+ string: ! "{\n \"member\": {\n \"subscribed\": true,\n \"name\": \"Member
255
+ Name\",\n \"vars\": {\n \"awesome\": true\n },\n \"address\":
256
+ \"member@example.com\"\n },\n \"message\": \"Mailing list member has been
257
+ created\"\n}"
258
+ http_version:
259
+ recorded_at: Mon, 04 Jun 2012 17:28:47 GMT
260
+ - request:
261
+ method: get
262
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org/members/member@example.com
263
+ body:
264
+ encoding: US-ASCII
265
+ string: ''
266
+ headers:
267
+ User-Agent:
268
+ - PewPew Ruby Gem 0.0.1
269
+ Authorization:
270
+ - Basic <%= basic_auth %>
271
+ response:
272
+ status:
273
+ code: 200
274
+ message:
275
+ headers:
276
+ server:
277
+ - nginx/1.0.14
278
+ date:
279
+ - Mon, 04 Jun 2012 17:52:02 GMT
280
+ content-type:
281
+ - application/json
282
+ connection:
283
+ - close
284
+ content-length:
285
+ - '151'
286
+ content-disposition:
287
+ - inline
288
+ body:
289
+ encoding: US-ASCII
290
+ string: ! "{\n \"member\": {\n \"subscribed\": true,\n \"name\": \"Member
291
+ Name\",\n \"vars\": {\n \"awesome\": true\n },\n \"address\":
292
+ \"member@example.com\"\n }\n}"
293
+ http_version:
294
+ recorded_at: Mon, 04 Jun 2012 17:52:02 GMT
295
+ - request:
296
+ method: get
297
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org/members
298
+ body:
299
+ encoding: US-ASCII
300
+ string: ''
301
+ headers:
302
+ User-Agent:
303
+ - PewPew Ruby Gem 0.0.1
304
+ Authorization:
305
+ - Basic <%= basic_auth %>
306
+ response:
307
+ status:
308
+ code: 200
309
+ message:
310
+ headers:
311
+ server:
312
+ - nginx/1.0.14
313
+ date:
314
+ - Mon, 04 Jun 2012 17:53:12 GMT
315
+ content-type:
316
+ - application/json
317
+ connection:
318
+ - close
319
+ content-length:
320
+ - '194'
321
+ content-disposition:
322
+ - inline
323
+ body:
324
+ encoding: US-ASCII
325
+ string: ! "{\n \"items\": [\n {\n \"subscribed\": true,\n \"name\":
326
+ \"Member Name\",\n \"vars\": {\n \"awesome\": true\n },\n
327
+ \ \"address\": \"member@example.com\"\n }\n ],\n \"total_count\":
328
+ 1\n}"
329
+ http_version:
330
+ recorded_at: Mon, 04 Jun 2012 17:53:12 GMT
331
+ - request:
332
+ method: put
333
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org/members/member@example.com
334
+ body:
335
+ encoding: US-ASCII
336
+ string: subscribed=false
337
+ headers:
338
+ User-Agent:
339
+ - PewPew Ruby Gem 0.0.1
340
+ Authorization:
341
+ - Basic <%= basic_auth %>
342
+ Content-Type:
343
+ - application/x-www-form-urlencoded
344
+ response:
345
+ status:
346
+ code: 200
347
+ message:
348
+ headers:
349
+ server:
350
+ - nginx/1.0.14
351
+ date:
352
+ - Mon, 04 Jun 2012 18:00:23 GMT
353
+ content-type:
354
+ - application/json
355
+ connection:
356
+ - close
357
+ content-length:
358
+ - '205'
359
+ content-disposition:
360
+ - inline
361
+ body:
362
+ encoding: US-ASCII
363
+ string: ! "{\n \"member\": {\n \"subscribed\": false,\n \"name\": \"Member
364
+ Name\",\n \"vars\": {\n \"awesome\": true\n },\n \"address\":
365
+ \"member@example.com\"\n },\n \"message\": \"Mailing list member has been
366
+ updated\"\n}"
367
+ http_version:
368
+ recorded_at: Mon, 04 Jun 2012 18:00:22 GMT
369
+ - request:
370
+ method: delete
371
+ uri: https://api.mailgun.net/v2/lists/newsletter@pewpew.mailgun.org/members/member@example.com
372
+ body:
373
+ encoding: US-ASCII
374
+ string: ''
375
+ headers:
376
+ User-Agent:
377
+ - PewPew Ruby Gem 0.0.1
378
+ Authorization:
379
+ - Basic <%= basic_auth %>
380
+ response:
381
+ status:
382
+ code: 200
383
+ message:
384
+ headers:
385
+ server:
386
+ - nginx/1.0.14
387
+ date:
388
+ - Mon, 04 Jun 2012 18:00:59 GMT
389
+ content-type:
390
+ - application/json
391
+ connection:
392
+ - close
393
+ content-length:
394
+ - '110'
395
+ content-disposition:
396
+ - inline
397
+ body:
398
+ encoding: US-ASCII
399
+ string: ! "{\n \"member\": {\n \"address\": \"member@example.com\"\n },\n
400
+ \ \"message\": \"Mailing list member has been deleted\"\n}"
401
+ http_version:
402
+ recorded_at: Mon, 04 Jun 2012 18:00:59 GMT
403
+ recorded_with: VCR 2.2.0
@@ -0,0 +1,133 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.mailgun.net/v2/<%= domain %>/log
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - PewPew Ruby Gem 0.0.1
12
+ Authorization:
13
+ - Basic <%= basic_auth %>
14
+ response:
15
+ status:
16
+ code: 200
17
+ message:
18
+ headers:
19
+ server:
20
+ - nginx/1.0.14
21
+ date:
22
+ - Fri, 01 Jun 2012 20:04:42 GMT
23
+ content-type:
24
+ - application/json
25
+ connection:
26
+ - close
27
+ content-length:
28
+ - '7529'
29
+ content-disposition:
30
+ - inline
31
+ body:
32
+ encoding: US-ASCII
33
+ string: ! "{\n \"total_count\": 27,\n \"items\": [\n {\n \"hap\":
34
+ \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 04:19:04 GMT\",\n
35
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
36
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"4fc84273c474_48dd3fe70cc34cd05949d@rouge.local.mail\"\n
37
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Fri,
38
+ 01 Jun 2012 04:18:13 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
39
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
40
+ \"4fc84273c474_48dd3fe70cc34cd05949d@rouge.local.mail\"\n },\n {\n \"hap\":
41
+ \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 04:17:50 GMT\",\n
42
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
43
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"4fc8417721270_489e3fcfe0c34cdc352b0@rouge.local.mail\"\n
44
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Fri,
45
+ 01 Jun 2012 04:17:13 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
46
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
47
+ \"4fc8417721270_489e3fcfe0c34cdc352b0@rouge.local.mail\"\n },\n {\n
48
+ \ \"hap\": \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 04:13:38
49
+ GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192
50
+ pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
51
+ \"4fc83d2449eb4_47b53fde6d034cd45631b@rouge.local.mail\"\n },\n {\n
52
+ \ \"hap\": \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 04:02:20
53
+ GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192
54
+ pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
55
+ \"4fc83d2449eb4_47b53fde6d034cd45631b@rouge.local.mail\"\n },\n {\n
56
+ \ \"hap\": \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 04:00:48
57
+ GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192
58
+ pewpew@devoh.com 'First multipart email sent with Mail'\",\n \"type\":
59
+ \"info\",\n \"message_id\": \"4a914f12ac7e_6f0f1ab80267d1@baci.local.mail\"\n
60
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Fri,
61
+ 01 Jun 2012 03:55:39 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
62
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
63
+ \"4fc83d2449eb4_47b53fde6d034cd45631b@rouge.local.mail\"\n },\n {\n
64
+ \ \"hap\": \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 03:51:11
65
+ GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192
66
+ pewpew@devoh.com\",\n \"type\": \"info\",\n \"message_id\": \"4fc83bfe82f0c_476b3fe22a034cdc9632@rouge.local.mail\"\n
67
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Fri,
68
+ 01 Jun 2012 03:39:14 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
69
+ \\u2192 pewpew@devoh.com\",\n \"type\": \"info\",\n \"message_id\":
70
+ \"4fc8389b8df7a_466c3fc7ba034cd08198@rouge.local.mail\"\n },\n {\n \"hap\":
71
+ \"delivered\",\n \"created_at\": \"Fri, 01 Jun 2012 03:30:30 GMT\",\n
72
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
73
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120601033029.22201.2429@pewpew.mailgun.org\"\n
74
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Tue,
75
+ 29 May 2012 23:45:27 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
76
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
77
+ \"20120529234526.13436.15849@pewpew.mailgun.org\"\n },\n {\n \"hap\":
78
+ \"delivered\",\n \"created_at\": \"Tue, 29 May 2012 23:42:42 GMT\",\n
79
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
80
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120529234242.4549.55626@pewpew.mailgun.org\"\n
81
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Tue,
82
+ 29 May 2012 23:32:57 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
83
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
84
+ \"20120529233255.4549.55955@pewpew.mailgun.org\"\n },\n {\n \"hap\":
85
+ \"delivered\",\n \"created_at\": \"Tue, 29 May 2012 23:32:56 GMT\",\n
86
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
87
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120529233255.4549.8763@pewpew.mailgun.org\"\n
88
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Tue,
89
+ 29 May 2012 23:32:26 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
90
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
91
+ \"20120529233225.4550.44296@pewpew.mailgun.org\"\n },\n {\n \"hap\":
92
+ \"delivered\",\n \"created_at\": \"Tue, 29 May 2012 23:22:23 GMT\",\n
93
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
94
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120529232222.4550.70051@pewpew.mailgun.org\"\n
95
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Sat,
96
+ 26 May 2012 06:19:26 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
97
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
98
+ \"20120526061924.23647.42796@pewpew.mailgun.org\"\n },\n {\n \"hap\":
99
+ \"delivered\",\n \"created_at\": \"Sat, 26 May 2012 06:17:00 GMT\",\n
100
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
101
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120526061658.23646.95976@pewpew.mailgun.org\"\n
102
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Sat,
103
+ 26 May 2012 00:12:08 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
104
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
105
+ \"20120526001207.15875.46370@pewpew.mailgun.org\"\n },\n {\n \"hap\":
106
+ \"delivered\",\n \"created_at\": \"Sat, 26 May 2012 00:04:14 GMT\",\n
107
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
108
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120526000412.15874.5241@pewpew.mailgun.org\"\n
109
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Sat,
110
+ 26 May 2012 00:01:25 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
111
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
112
+ \"20120526000124.17887.97367@pewpew.mailgun.org\"\n },\n {\n \"hap\":
113
+ \"delivered\",\n \"created_at\": \"Fri, 25 May 2012 23:58:05 GMT\",\n
114
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
115
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120525235750.3879.83431@pewpew.mailgun.org\"\n
116
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Fri,
117
+ 25 May 2012 23:57:51 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
118
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
119
+ \"20120525235751.17887.20819@pewpew.mailgun.org\"\n },\n {\n \"hap\":
120
+ \"delivered\",\n \"created_at\": \"Fri, 25 May 2012 23:57:50 GMT\",\n
121
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
122
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120525235749.3878.6294@pewpew.mailgun.org\"\n
123
+ \ },\n {\n \"hap\": \"delivered\",\n \"created_at\": \"Fri,
124
+ 25 May 2012 23:57:49 GMT\",\n \"message\": \"Delivered: postmaster@pewpew.mailgun.org
125
+ \\u2192 pewpew@devoh.com 'Test'\",\n \"type\": \"info\",\n \"message_id\":
126
+ \"20120525235748.23647.26762@pewpew.mailgun.org\"\n },\n {\n \"hap\":
127
+ \"delivered\",\n \"created_at\": \"Thu, 24 May 2012 08:00:45 GMT\",\n
128
+ \ \"message\": \"Delivered: postmaster@pewpew.mailgun.org \\u2192 pewpew@devoh.com
129
+ 'Test'\",\n \"type\": \"info\",\n \"message_id\": \"20120524080044.27067.73085@pewpew.mailgun.org\"\n
130
+ \ }\n ]\n}"
131
+ http_version:
132
+ recorded_at: Fri, 01 Jun 2012 20:04:42 GMT
133
+ recorded_with: VCR 2.2.0