Class: Conductor::TaskInProgress
- Inherits:
-
Object
- Object
- Conductor::TaskInProgress
- Defined in:
- lib/conductor/exceptions.rb
Overview
Task in progress (not an error - for long-running tasks)
Instance Attribute Summary collapse
-
#callback_after_seconds ⇒ Object
readonly
Returns the value of attribute callback_after_seconds.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(callback_after: 60, output: {}) ⇒ TaskInProgress
constructor
A new instance of TaskInProgress.
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_seconds ⇒ Object (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 |
#output ⇒ Object (readonly)
Returns the value of attribute output.
79 80 81 |
# File 'lib/conductor/exceptions.rb', line 79 def output @output end |