Class: Dry::Workflow::Step

Inherits:
Struct
  • Object
show all
Defined in:
lib/dry/workflow.rb

Overview

Internal representation of a single step in the workflow.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/dry/workflow.rb', line 9

def name
  @name
end

#operationObject

Returns the value of attribute operation

Returns:

  • (Object)

    the current value of operation



9
10
11
# File 'lib/dry/workflow.rb', line 9

def operation
  @operation
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



9
10
11
# File 'lib/dry/workflow.rb', line 9

def options
  @options
end

#rollback_operationObject

Returns the value of attribute rollback_operation

Returns:

  • (Object)

    the current value of rollback_operation



9
10
11
# File 'lib/dry/workflow.rb', line 9

def rollback_operation
  @rollback_operation
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/dry/workflow.rb', line 9

def type
  @type
end