Class: ManageIQ::Floe::Workflow::Catcher
- Inherits:
-
Object
- Object
- ManageIQ::Floe::Workflow::Catcher
- Defined in:
- lib/manageiq/floe/workflow/catcher.rb
Instance Attribute Summary collapse
-
#error_equals ⇒ Object
readonly
Returns the value of attribute error_equals.
-
#next ⇒ Object
readonly
Returns the value of attribute next.
-
#result_path ⇒ Object
readonly
Returns the value of attribute result_path.
Instance Method Summary collapse
-
#initialize(payload) ⇒ Catcher
constructor
A new instance of Catcher.
Constructor Details
#initialize(payload) ⇒ Catcher
Returns a new instance of Catcher.
9 10 11 12 13 14 15 |
# File 'lib/manageiq/floe/workflow/catcher.rb', line 9 def initialize(payload) @payload = payload @error_equals = payload["ErrorEquals"] @next = payload["Next"] @result_path = payload.fetch("ResultPath", "$") end |
Instance Attribute Details
#error_equals ⇒ Object (readonly)
Returns the value of attribute error_equals.
7 8 9 |
# File 'lib/manageiq/floe/workflow/catcher.rb', line 7 def error_equals @error_equals end |
#next ⇒ Object (readonly)
Returns the value of attribute next.
7 8 9 |
# File 'lib/manageiq/floe/workflow/catcher.rb', line 7 def next @next end |
#result_path ⇒ Object (readonly)
Returns the value of attribute result_path.
7 8 9 |
# File 'lib/manageiq/floe/workflow/catcher.rb', line 7 def result_path @result_path end |