module Sidekiq::Extensions::ActionMailer
Public Instance Methods
sidekiq_delay(options={})
click to toggle source
# File lib/sidekiq/extensions/action_mailer.rb, line 42 def sidekiq_delay(options={}) Proxy.new(DelayedMailer, self, options) end
Also aliased as: delay
sidekiq_delay_for(interval, options={})
click to toggle source
# File lib/sidekiq/extensions/action_mailer.rb, line 45 def sidekiq_delay_for(interval, options={}) Proxy.new(DelayedMailer, self, options.merge('at' => Time.now.to_f + interval.to_f)) end
Also aliased as: delay_for
sidekiq_delay_until(timestamp, options={})
click to toggle source
# File lib/sidekiq/extensions/action_mailer.rb, line 48 def sidekiq_delay_until(timestamp, options={}) Proxy.new(DelayedMailer, self, options.merge('at' => timestamp.to_f)) end
Also aliased as: delay_until