Class: WorkflowRb::WorkflowDefinition
- Inherits:
-
Object
- Object
- WorkflowRb::WorkflowDefinition
- Defined in:
- lib/workflow_rb/models/workflow_definition.rb
Instance Attribute Summary collapse
-
#data_class ⇒ Object
Returns the value of attribute data_class.
-
#id ⇒ Object
Returns the value of attribute id.
-
#initial_step ⇒ Object
Returns the value of attribute initial_step.
-
#steps ⇒ Object
Returns the value of attribute steps.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ WorkflowDefinition
constructor
A new instance of WorkflowDefinition.
Constructor Details
#initialize ⇒ WorkflowDefinition
Returns a new instance of WorkflowDefinition.
10 11 12 |
# File 'lib/workflow_rb/models/workflow_definition.rb', line 10 def initialize @steps = [] end |
Instance Attribute Details
#data_class ⇒ Object
Returns the value of attribute data_class.
6 7 8 |
# File 'lib/workflow_rb/models/workflow_definition.rb', line 6 def data_class @data_class end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/workflow_rb/models/workflow_definition.rb', line 4 def id @id end |
#initial_step ⇒ Object
Returns the value of attribute initial_step.
7 8 9 |
# File 'lib/workflow_rb/models/workflow_definition.rb', line 7 def initial_step @initial_step end |
#steps ⇒ Object
Returns the value of attribute steps.
8 9 10 |
# File 'lib/workflow_rb/models/workflow_definition.rb', line 8 def steps @steps end |
#version ⇒ Object
Returns the value of attribute version.
5 6 7 |
# File 'lib/workflow_rb/models/workflow_definition.rb', line 5 def version @version end |