class Substation::Processor::Transformer::Outgoing

A transformer used to transform an outgoing response

Public Instance Methods

call(response) click to toggle source

Call the processor

@param [Response] response

the response to process

@return [Response]

a new instance of the same class as +response+

@api private

# File lib/substation/processor/transformer.rb, line 39
def call(response)
  respond_with(response, execute(response))
end