Class: Delayed::PerformableMethod
- Inherits:
-
Object
- Object
- Delayed::PerformableMethod
- Includes:
- Job::Extras
- Defined in:
- lib/delayed_job_extras/performable_method.rb
Constant Summary
Constants included from Job::Extras
Instance Attribute Summary collapse
-
#worker_class_name ⇒ Object
Returns the value of attribute worker_class_name.
Instance Method Summary collapse
Methods included from Job::Extras
Instance Attribute Details
#worker_class_name ⇒ Object
Returns the value of attribute worker_class_name.
5 6 7 |
# File 'lib/delayed_job_extras/performable_method.rb', line 5 def worker_class_name @worker_class_name end |
Instance Method Details
#initialize_with_extras(object, method, args) ⇒ Object
7 8 9 10 |
# File 'lib/delayed_job_extras/performable_method.rb', line 7 def initialize_with_extras(object, method, args) self.worker_class_name = "#{object.class.to_s.underscore}/#{method}" initialize_without_extras(object, method, args) end |