Module: Dry::Workflow

Defined in:
lib/dry-workflow.rb,
lib/dry/workflow.rb,
lib/dry/workflow/version.rb

Overview

A module for building robust, multi-step workflows with rollback capabilities. Similar in spirit to dry-transaction but with an explicit focus on defining and executing rollback operations for each step.

Defined Under Namespace

Modules: InstanceMethods, Mixin Classes: Error, RollbackError, Step, StepDefinitionError

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Convenience method to include the Mixin and extend with InstanceMethods



208
209
210
211
# File 'lib/dry/workflow.rb', line 208

def self.included(base)
  base.extend Mixin
  base.include InstanceMethods
end