Method: Toaster::AutomationRun.set_current

Defined in:
lib/toaster/model/automation_run.rb

.set_current(run) ⇒ Object

used in the context of a currently active run



46
47
48
49
# File 'lib/toaster/model/automation_run.rb', line 46

def self.set_current(run)
  run.save
  @@current_run = run
end