Class: WorkflowRb::WorkflowStep
- Inherits:
-
Object
- Object
- WorkflowRb::WorkflowStep
- Defined in:
- lib/workflow_rb/models/workflow_step.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#id ⇒ Object
Returns the value of attribute id.
-
#inputs ⇒ Object
Returns the value of attribute inputs.
-
#name ⇒ Object
Returns the value of attribute name.
-
#outcomes ⇒ Object
Returns the value of attribute outcomes.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
Instance Method Summary collapse
-
#initialize ⇒ WorkflowStep
constructor
A new instance of WorkflowStep.
Constructor Details
#initialize ⇒ WorkflowStep
Returns a new instance of WorkflowStep.
12 13 14 15 16 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 12 def initialize @outcomes = [] @inputs = [] @outputs = [] end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
7 8 9 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 7 def body @body end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 4 def id @id end |
#inputs ⇒ Object
Returns the value of attribute inputs.
9 10 11 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 9 def inputs @inputs end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 5 def name @name end |
#outcomes ⇒ Object
Returns the value of attribute outcomes.
8 9 10 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 8 def outcomes @outcomes end |
#outputs ⇒ Object
Returns the value of attribute outputs.
10 11 12 |
# File 'lib/workflow_rb/models/workflow_step.rb', line 10 def outputs @outputs end |