Module: Substation::Processor::Incoming

Includes:
Substation::Processor, Fallible
Included in:
Evaluator::Request, Nest::Incoming, Transformer::Incoming
Defined in:
lib/substation/processor.rb

Overview

Supports incoming Substation::Processor instances

Instance Method Summary collapse

Methods included from Fallible

#with_failure_chain

Methods included from Substation::Processor

#initialize, #name, #success?

Instance Method Details

#result(_response) ⇒ Request

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.

The request passed on to the next processor in a Chain

Parameters:

  • _response (Response)

    the response returned from invoking this processor

Returns:

  • (Request)

    the request passed on to the next processor in a Chain


189
190
191
# File 'lib/substation/processor.rb', line 189

def result(_response)
  super.to_request
end