Class: Mail::Message::MailmanWorker
- Inherits:
-
DJ::Worker
- Object
- DJ::Worker
- Mail::Message::MailmanWorker
- Defined in:
- lib/dj_remixes/action_mailer/action_mailer.rb
Constant Summary
Constants inherited from DJ::Worker
Instance Attribute Summary
Attributes inherited from DJ::Worker
#priority, #run_at, #worker_class_name
Instance Method Summary collapse
Methods inherited from DJ::Worker
#after, #before, #clone, #dj_object, #dj_object=, enqueue, #enqueue!, #error, #error_with_airbrake, #error_with_hoptoad, is_unique, priority, re_enqueue, run_at, #success, #unique?
Instance Method Details
#perform ⇒ Object
6 7 8 9 10 11 |
# File 'lib/dj_remixes/action_mailer/action_mailer.rb', line 6 def perform # Force loading of the class first to avoid the dreaded 'undefined class/module' error eval(self.klass) = Marshal.load(self.mail) .deliver_without_worker end |