Module: Substation::Chain::Incoming

Defined in:
lib/substation/chain.rb

Overview

Supports chaining handlers processed before the Pivot

Instance Method Summary collapse

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 handler in a Substation::Chain

Parameters:

Returns:



84
85
86
# File 'lib/substation/chain.rb', line 84

def result(response)
  Request.new(response.env, response.output)
end