Module: Toolx::Core::Operation::Flow::ClassMethods

Defined in:
lib/toolx/core/operation/flow.rb

Instance Method Summary collapse

Instance Method Details

#flowOperation::Flow::Executor

executor = MyOperation.flow .bind_with(self) .on(success: :dashboard, fail: :show_error) executor.perform(name: 'Alice', age: 20).success? executor.response # => { user: }



16
# File 'lib/toolx/core/operation/flow.rb', line 16

def flow = Executor.new(self)