Class: GovernorBackground::Delayed::Performer
- Inherits:
-
Struct
- Object
- Struct
- GovernorBackground::Delayed::Performer
- Defined in:
- lib/governor_background/delayed/performer.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#job_name ⇒ Object
Returns the value of attribute job_name.
Instance Method Summary collapse
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments
3 4 5 |
# File 'lib/governor_background/delayed/performer.rb', line 3 def arguments @arguments end |
#job_name ⇒ Object
Returns the value of attribute job_name
3 4 5 |
# File 'lib/governor_background/delayed/performer.rb', line 3 def job_name @job_name end |
Instance Method Details
#perform ⇒ Object
4 5 6 |
# File 'lib/governor_background/delayed/performer.rb', line 4 def perform GovernorBackground.retrieve(job_name).call(*arguments) end |