mandrill-api 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/mandrill/api.rb +2 -0
- metadata +2 -2
data/lib/mandrill/api.rb
CHANGED
@@ -549,6 +549,7 @@ module Mandrill
|
|
549
549
|
# @return [Array] of structs for each matching message
|
550
550
|
# - [Hash] return[] the information for a single matching message
|
551
551
|
# - [Integer] ts the Unix timestamp from when this message was sent
|
552
|
+
# - [String] _id the message's unique id
|
552
553
|
# - [String] sender the email address of the sender
|
553
554
|
# - [String] subject the message's subject link
|
554
555
|
# - [String] email the recipient email address
|
@@ -557,6 +558,7 @@ module Mandrill
|
|
557
558
|
# - [Integer] opens how many times has this message been opened
|
558
559
|
# - [Integer] clicks how many times has a link been clicked in this message
|
559
560
|
# - [String] state sending status of this message: sent, bounced, rejected
|
561
|
+
# - [Hash] metadata any custom metadata provided when the message was sent
|
560
562
|
def search(query='*', date_from=nil, date_to=nil, tags=nil, senders=nil, limit=100)
|
561
563
|
_params = {:query => query, :date_from => date_from, :date_to => date_to, :tags => tags, :senders => senders, :limit => limit}
|
562
564
|
return @master.call 'messages/search', _params
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mandrill-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mandrill Devs
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-04 00:00:00 +00:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|