Module: Resque::Mailer::ClassMethods

Defined in:
lib/merb_resque_mailer.rb

Instance Method Summary collapse

Instance Method Details

#perform(params, method, mail_params) ⇒ Object



34
35
36
# File 'lib/merb_resque_mailer.rb', line 34

def perform(params, method, mail_params)
  new(params).dispatch_and_deliver!(method.to_sym, mail_params)
end

#queueObject



30
31
32
# File 'lib/merb_resque_mailer.rb', line 30

def queue
  :mailer
end