class ForemanMaintain::Runner::StoredExecution
Class representing an execution of a single step in scenario
Public Class Methods
new(step, hash)
click to toggle source
# File lib/foreman_maintain/runner/stored_execution.rb, line 8 def initialize(step, hash) @step = step @status = hash[:status] @output = hash[:output] end
Public Instance Methods
reporter()
click to toggle source
# File lib/foreman_maintain/runner/stored_execution.rb, line 14 def reporter raise 'Can not access reporter from stored execution' end
run()
click to toggle source
# File lib/foreman_maintain/runner/stored_execution.rb, line 18 def run raise 'Can not run stored execution' end