Class: Delayed::PerformableMailer

Inherits:
PerformableMethod show all
Defined in:
lib/delayed/performable_mailer.rb

Instance Attribute Summary

Attributes inherited from PerformableMethod

#args, #method_name, #object

Instance Method Summary collapse

Methods inherited from PerformableMethod

#display_name, #initialize, #method_missing, #respond_to?

Methods inherited from Struct

yaml_tag_read_class

Constructor Details

This class inherits a constructor from Delayed::PerformableMethod

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Delayed::PerformableMethod

Instance Method Details

#performObject



5
6
7
# File 'lib/delayed/performable_mailer.rb', line 5

def perform
  object.send(method_name, *args).deliver
end