lib/sidekiq/extensions/action_mailer.rb in sidekiq-2.12.1 vs lib/sidekiq/extensions/action_mailer.rb in sidekiq-2.12.3
- old
+ new
@@ -1,10 +1,10 @@
require 'sidekiq/extensions/generic_proxy'
module Sidekiq
module Extensions
##
- # Adds 'delay' and 'delay_for' to ActionMailer to offload arbitrary email
+ # Adds 'delay', 'delay_for' and `delay_until` methods to ActionMailer to offload arbitrary email
# delivery to Sidekiq. Example:
#
# UserMailer.delay.send_welcome_email(new_user)
# UserMailer.delay_for(5.days).send_welcome_email(new_user)
# UserMailer.delay_until(5.days.from_now).send_welcome_email(new_user)