Class: Zeridion::Flare::Worker::Executor::Outcome
- Inherits:
-
Struct
- Object
- Struct
- Zeridion::Flare::Worker::Executor::Outcome
- Defined in:
- lib/zeridion_flare/worker/executor.rb
Overview
Outcome of one execution. error is nil on success, else a wire-ready Hash "message", "stack_trace" (already nil-compacted).
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#succeeded ⇒ Object
Returns the value of attribute succeeded.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
18 19 20 |
# File 'lib/zeridion_flare/worker/executor.rb', line 18 def error @error end |
#succeeded ⇒ Object
Returns the value of attribute succeeded
18 19 20 |
# File 'lib/zeridion_flare/worker/executor.rb', line 18 def succeeded @succeeded end |
Instance Method Details
#succeeded? ⇒ Boolean
19 20 21 |
# File 'lib/zeridion_flare/worker/executor.rb', line 19 def succeeded? succeeded end |