[ci skip] add :queue option to deliver_later and deliver_later! documentation

This commit is contained in:
yuuji.yaginuma 2014-10-19 09:35:00 +09:00
parent 9a586ac48d
commit 7bb678bb7c
1 changed files with 2 additions and 0 deletions

View File

@ -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