mandrill-api 1.0.11 → 1.0.12

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 +7 -4
  2. metadata +4 -4
@@ -301,7 +301,10 @@ module Mandrill
301
301
 
302
302
  # List the domains that have been configured for inbound delivery
303
303
  # @return [Array] the inbound domains associated with the account
304
- # - [Array] return[] the individual domain info
304
+ # - [Hash] return[] the individual domain info
305
+ # - [String] domain the domain name that is accepting mail
306
+ # - [String] created_at the date and time that the inbound domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
307
+ # - [Boolean] valid_mx true if this inbound domain has successfully set up an MX record to deliver mail to the Mandrill servers
305
308
  def domains()
306
309
  _params = {}
307
310
  return @master.call 'inbound/domains', _params
@@ -323,9 +326,9 @@ module Mandrill
323
326
  # @param [Array, nil] to optionally define the recipients to receive the message - otherwise we'll use the To, Cc, and Bcc headers provided in the document
324
327
  # @return [Array] an array of the information for each recipient in the message (usually one) that matched an inbound route
325
328
  # - [Hash] return[] the individual recipient information
326
- # - [Hash] email the email address of the matching recipient
327
- # - [Hash] pattern the mailbox route pattern that the recipient matched
328
- # - [Hash] url the webhook URL that the message was posted to
329
+ # - [String] email the email address of the matching recipient
330
+ # - [String] pattern the mailbox route pattern that the recipient matched
331
+ # - [String] url the webhook URL that the message was posted to
329
332
  def send_raw(raw_message, to=nil)
330
333
  _params = {:raw_message => raw_message, :to => to}
331
334
  return @master.call 'inbound/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: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 11
10
- version: 1.0.11
9
+ - 12
10
+ version: 1.0.12
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: 2012-12-17 00:00:00 Z
18
+ date: 2012-12-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json