mandrill-api 1.0.38 → 1.0.39
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mandrill/api.rb +10 -0
- metadata +5 -6
data/lib/mandrill/api.rb
CHANGED
@@ -849,6 +849,11 @@ module Mandrill
|
|
849
849
|
# - [String] ua the email client or browser data of the click
|
850
850
|
# - [String] state sending status of this message: sent, bounced, rejected
|
851
851
|
# - [Hash] metadata any custom metadata provided when the message was sent
|
852
|
+
# - [Array] smtp_events a log of up to 3 smtp events for the message
|
853
|
+
# - [Hash] smtp_events[] information about a specific smtp event
|
854
|
+
# - [Integer] ts the Unix timestamp when the event occured
|
855
|
+
# - [String] type the message's state as a result of this event
|
856
|
+
# - [String] diag the SMTP response from the recipient's server
|
852
857
|
def search(query='*', date_from=nil, date_to=nil, tags=nil, senders=nil, limit=100)
|
853
858
|
_params = {:query => query, :date_from => date_from, :date_to => date_to, :tags => tags, :senders => senders, :limit => limit}
|
854
859
|
return @master.call 'messages/search', _params
|
@@ -906,6 +911,11 @@ module Mandrill
|
|
906
911
|
# - [String] ua the email client or browser data of the click
|
907
912
|
# - [String] state sending status of this message: sent, bounced, rejected
|
908
913
|
# - [Hash] metadata any custom metadata provided when the message was sent
|
914
|
+
# - [Array] smtp_events a log of up to 3 smtp events for the message
|
915
|
+
# - [Hash] smtp_events[] information about a specific smtp event
|
916
|
+
# - [Integer] ts the Unix timestamp when the event occured
|
917
|
+
# - [String] type the message's state as a result of this event
|
918
|
+
# - [String] diag the SMTP response from the recipient's server
|
909
919
|
def info(id)
|
910
920
|
_params = {:id => id}
|
911
921
|
return @master.call 'messages/info', _params
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mandrill-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 89
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 39
|
10
|
+
version: 1.0.39
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mandrill Devs
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-08-03 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: json
|
@@ -90,10 +90,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
requirements: []
|
91
91
|
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 1.8.
|
93
|
+
rubygems_version: 1.8.15
|
94
94
|
signing_key:
|
95
95
|
specification_version: 3
|
96
96
|
summary: A Ruby API library for the Mandrill email as a service platform.
|
97
97
|
test_files: []
|
98
98
|
|
99
|
-
has_rdoc:
|