Class: Marty::DeloreanBackgroundJob
- Defined in:
- app/jobs/marty/delorean_background_job.rb
Instance Attribute Summary
Attributes inherited from CronJob
Instance Method Summary collapse
Methods inherited from CronJob
#enqueue, #log_failure, #log_success, remove, reschedule, schedule, scheduled?
Instance Method Details
#perform(script, node, attribute) ⇒ Object
3 4 5 6 |
# File 'app/jobs/marty/delorean_background_job.rb', line 3 def perform(script, node, attribute) engine = Marty::ScriptSet.new.get_engine(script) engine.evaluate(node, attribute, {}) end |