mandrill-api 1.0.16 → 1.0.17

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.
Files changed (2) hide show
  1. data/lib/mandrill/api.rb +3 -0
  2. metadata +4 -4
@@ -551,6 +551,7 @@ module Mandrill
551
551
  # - [Hash] return[] the sending results for a single recipient
552
552
  # - [String] email the email address of the recipient
553
553
  # - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
554
+ # - [String] _id the message's unique id
554
555
  def send(message, async=false)
555
556
  _params = {:message => message, :async => async}
556
557
  return @master.call 'messages/send', _params
@@ -614,6 +615,7 @@ module Mandrill
614
615
  # - [Hash] return[] the sending results for a single recipient
615
616
  # - [String] email the email address of the recipient
616
617
  # - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
618
+ # - [String] _id the message's unique id
617
619
  def send_template(template_name, template_content, message, async=false)
618
620
  _params = {:template_name => template_name, :template_content => template_content, :message => message, :async => async}
619
621
  return @master.call 'messages/send-template', _params
@@ -684,6 +686,7 @@ module Mandrill
684
686
  # - [Hash] return[] the sending results for a single recipient
685
687
  # - [String] email the email address of the recipient
686
688
  # - [String] status the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
689
+ # - [String] _id the message's unique id
687
690
  def send_raw(raw_message, from_email=nil, from_name=nil, to=nil, async=false)
688
691
  _params = {:raw_message => raw_message, :from_email => from_email, :from_name => from_name, :to => to, :async => async}
689
692
  return @master.call 'messages/send-raw', _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: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 16
10
- version: 1.0.16
9
+ - 17
10
+ version: 1.0.17
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-03-01 00:00:00 Z
18
+ date: 2013-03-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json