Class: Conductor::TaskInProgress

Inherits:
Object
  • Object
show all
Defined in:
lib/conductor/exceptions.rb

Overview

Task in progress (not an error - for long-running tasks)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(callback_after: 60, output: {}) ⇒ TaskInProgress

Returns a new instance of TaskInProgress.



81
82
83
84
# File 'lib/conductor/exceptions.rb', line 81

def initialize(callback_after: 60, output: {})
  @callback_after_seconds = callback_after
  @output = output
end

Instance Attribute Details

#callback_after_secondsObject (readonly)

Returns the value of attribute callback_after_seconds.



79
80
81
# File 'lib/conductor/exceptions.rb', line 79

def callback_after_seconds
  @callback_after_seconds
end

#outputObject (readonly)

Returns the value of attribute output.



79
80
81
# File 'lib/conductor/exceptions.rb', line 79

def output
  @output
end