Class: Substation::Processor::Pivot

Inherits:
Object
  • Object
show all
Includes:
Substation::Processor, Outgoing
Defined in:
lib/substation/processor/pivot.rb

Overview

A processor to invoke a chain’s pivot handler

Instance Method Summary collapse

Methods included from Chain::Outgoing

#result

Instance Method Details

#call(request) ⇒ Response

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.

Invoke a chain’s pivot handler

Parameters:

  • request (Request)

    the request to process

Returns:



19
20
21
# File 'lib/substation/processor/pivot.rb', line 19

def call(request)
  handler.call(request)
end