diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-10-19 09:35:00 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-10-19 09:35:00 +0900 |
commit | 7bb678bb7c12c5bd56e4a6cc02239701ac4808b6 (patch) | |
tree | 7fd271ba4b5819196f6ee10ae3801a80189e3071 /actionmailer/lib | |
parent | 9a586ac48d75a14fa2d3bd6ec5c45ff564d8d2db (diff) | |
download | rails-7bb678bb7c12c5bd56e4a6cc02239701ac4808b6.tar.gz rails-7bb678bb7c12c5bd56e4a6cc02239701ac4808b6.tar.bz2 rails-7bb678bb7c12c5bd56e4a6cc02239701ac4808b6.zip |
[ci skip] add :queue option to deliver_later and deliver_later! documentation
Diffstat (limited to 'actionmailer/lib')
-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 |