Class: WorkflowRb::WorkflowDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/workflow_rb/models/workflow_definition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWorkflowDefinition

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_classObject

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

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/workflow_rb/models/workflow_definition.rb', line 4

def id
  @id
end

#initial_stepObject

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

#stepsObject

Returns the value of attribute steps.



8
9
10
# File 'lib/workflow_rb/models/workflow_definition.rb', line 8

def steps
  @steps
end

#versionObject

Returns the value of attribute version.



5
6
7
# File 'lib/workflow_rb/models/workflow_definition.rb', line 5

def version
  @version
end