class Substation::Processor::Builder

Supports building new {Processor} instances

Public Instance Methods

call(handler, failure_chain, observers) click to toggle source

Build processor

@param [#call] handler @param [Chain] failure_chain

@return [Processor]

@api private

# File lib/substation/processor/builder.rb, line 19
def call(handler, failure_chain, observers)
  klass.new(name, handler, Config.new(executor, failure_chain, observers))
end