mandrill-api 1.0.29 → 1.0.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mandrill/api.rb +3 -0
  2. metadata +5 -6
@@ -723,6 +723,7 @@ module Mandrill
723
723
  # - [Hash] return[] the sending results for a single recipient
724
724
  # - [String] email the email address of the recipient
725
725
  # - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
726
+ # - [String] reject_reason the reason for the rejection if the recipient status is "rejected"
726
727
  # - [String] _id the message's unique id
727
728
  def send(message, async=false)
728
729
  _params = {:message => message, :async => async}
@@ -793,6 +794,7 @@ module Mandrill
793
794
  # - [Hash] return[] the sending results for a single recipient
794
795
  # - [String] email the email address of the recipient
795
796
  # - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
797
+ # - [String] reject_reason the reason for the rejection if the recipient status is "rejected"
796
798
  # - [String] _id the message's unique id
797
799
  def send_template(template_name, template_content, message, async=false)
798
800
  _params = {:template_name => template_name, :template_content => template_content, :message => message, :async => async}
@@ -864,6 +866,7 @@ module Mandrill
864
866
  # - [Hash] return[] the sending results for a single recipient
865
867
  # - [String] email the email address of the recipient
866
868
  # - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
869
+ # - [String] reject_reason the reason for the rejection if the recipient status is "rejected"
867
870
  # - [String] _id the message's unique id
868
871
  def send_raw(raw_message, from_email=nil, from_name=nil, to=nil, async=false)
869
872
  _params = {:raw_message => raw_message, :from_email => from_email, :from_name => from_name, :to => to, :async => async}
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: 45
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 29
10
- version: 1.0.29
9
+ - 30
10
+ version: 1.0.30
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-05-13 00:00:00 Z
18
+ date: 2013-05-15 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.24
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: