module Substation::Processor::Wrapper

A processor that wraps output data in a new handler instance

Private Instance Methods

invoke(state) click to toggle source

Wrap response data in an instance of {#handler}

@param [Response] response

the response to process

@return [Response]

@api private

# File lib/substation/processor/wrapper.rb, line 29
def invoke(state)
  handler.new(state)
end