Class: Mail::Message::MailmanWorker

Inherits:
DJ::Worker show all
Defined in:
lib/delayed_job_extras/action_mailer_rails3.rb

Constant Summary

Constants included from Delayed::Job::Extras

Delayed::Job::Extras::PRIORITY_LEVELS

Instance Attribute Summary

Attributes inherited from DJ::Worker

#attributes

Instance Method Summary collapse

Methods inherited from DJ::Worker

disable_re_enqueue, #initialize, #method_missing

Methods included from Delayed::Job::Extras

included

Constructor Details

This class inherits a constructor from DJ::Worker

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class DJ::Worker

Instance Method Details

#performObject



9
10
11
12
# File 'lib/delayed_job_extras/action_mailer_rails3.rb', line 9

def perform
  message = Marshal.load(self.mail)
  message.deliver_without_worker
end