Module: Substation::Processor::Fallible
Overview
Supports Substation::Processor instances with a defined failure Chain
Instance Method Summary collapse
-
#with_failure_chain(chain) ⇒ #call
private
Return a new processor with
chain
as failure_chain.
Instance Method Details
#with_failure_chain(chain) ⇒ #call
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return a new processor with chain
as failure_chain
188 189 190 |
# File 'lib/substation/processor.rb', line 188 def with_failure_chain(chain) self.class.new(name, handler, config.with_failure_chain(chain)) end |