Class: SolidFlow::Replay::StepState
- Inherits:
-
Struct
- Object
- Struct
- SolidFlow::Replay::StepState
- Defined in:
- lib/solid_flow/replay.rb
Instance Attribute Summary collapse
-
#attempt ⇒ Object
Returns the value of attribute attempt.
-
#idempotency_key ⇒ Object
Returns the value of attribute idempotency_key.
-
#last_error ⇒ Object
Returns the value of attribute last_error.
-
#last_result ⇒ Object
Returns the value of attribute last_result.
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
-
#wait_instructions ⇒ Object
Returns the value of attribute wait_instructions.
Instance Method Summary collapse
Instance Attribute Details
#attempt ⇒ Object
Returns the value of attribute attempt
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def attempt @attempt end |
#idempotency_key ⇒ Object
Returns the value of attribute idempotency_key
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def idempotency_key @idempotency_key end |
#last_error ⇒ Object
Returns the value of attribute last_error
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def last_error @last_error end |
#last_result ⇒ Object
Returns the value of attribute last_result
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def last_result @last_result end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def name @name end |
#status ⇒ Object
Returns the value of attribute status
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def status @status end |
#wait_instructions ⇒ Object
Returns the value of attribute wait_instructions
7 8 9 |
# File 'lib/solid_flow/replay.rb', line 7 def wait_instructions @wait_instructions end |
Instance Method Details
#completed? ⇒ Boolean
21 22 23 |
# File 'lib/solid_flow/replay.rb', line 21 def completed? status == :completed end |
#failed? ⇒ Boolean
25 26 27 |
# File 'lib/solid_flow/replay.rb', line 25 def failed? status == :failed end |
#waiting? ⇒ Boolean
17 18 19 |
# File 'lib/solid_flow/replay.rb', line 17 def waiting? status == :waiting end |