Module: Resque::Mailer::ClassMethods

Defined in:
lib/resque_mailer_patch.rb

Instance Method Summary collapse

Instance Method Details

#perform(action, *args) ⇒ Object



4
5
6
7
# File 'lib/resque_mailer_patch.rb', line 4

def perform(action, *args)
  args = PerformLater::ArgsParser.args_from_resque(args)
  self.send(:new, action, *args).message.deliver
end