Module: Creeper::Extensions::ActionMailer
- Defined in:
- lib/creeper/extensions/action_mailer.rb
Instance Method Summary collapse
Instance Method Details
#delay ⇒ Object
24 25 26 |
# File 'lib/creeper/extensions/action_mailer.rb', line 24 def delay Proxy.new(DelayedMailer, self) end |
#delay_for(interval) ⇒ Object
27 28 29 |
# File 'lib/creeper/extensions/action_mailer.rb', line 27 def delay_for(interval) Proxy.new(DelayedMailer, self, Time.now.to_f + interval.to_f) end |