diff options
author | Zachary Scott <e@zzak.io> | 2014-10-18 22:27:41 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-10-18 22:27:41 -0700 |
commit | 2e5fb59b63279f19552ec83e801f4b842b85ec98 (patch) | |
tree | 7fd271ba4b5819196f6ee10ae3801a80189e3071 /actionmailer | |
parent | 9a586ac48d75a14fa2d3bd6ec5c45ff564d8d2db (diff) | |
parent | 7bb678bb7c12c5bd56e4a6cc02239701ac4808b6 (diff) | |
download | rails-2e5fb59b63279f19552ec83e801f4b842b85ec98.tar.gz rails-2e5fb59b63279f19552ec83e801f4b842b85ec98.tar.bz2 rails-2e5fb59b63279f19552ec83e801f4b842b85ec98.zip |
Merge pull request #17314 from y-yagi/message_delivery_doc
[ci skip] add :queue option to deliver_later and deliver_later! documentation
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/lib/action_mailer/message_delivery.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/message_delivery.rb b/actionmailer/lib/action_mailer/message_delivery.rb index 7118f9b02c..c18e914f37 100644 --- a/actionmailer/lib/action_mailer/message_delivery.rb +++ b/actionmailer/lib/action_mailer/message_delivery.rb @@ -46,6 +46,7 @@ module ActionMailer # # * <tt>:wait</tt> - Enqueue the email to be delivered with a delay # * <tt>:wait_until</tt> - Enqueue the email to be delivered at (after) a specific date / time + # * <tt>:queue</tt> - Enqueue the email on the specified queue def deliver_later!(options={}) enqueue_delivery :deliver_now!, options end @@ -61,6 +62,7 @@ module ActionMailer # # * <tt>:wait</tt> - Enqueue the email to be delivered with a delay # * <tt>:wait_until</tt> - Enqueue the email to be delivered at (after) a specific date / time + # * <tt>:queue</tt> - Enqueue the email on the specified queue def deliver_later(options={}) enqueue_delivery :deliver_now, options end |