Class: Substation::Processor::Transformer::Outgoing

Inherits:
Object
  • Object
show all
Includes:
Outgoing
Defined in:
lib/substation/processor/transformer.rb

Overview

A transformer used to transform an outgoing response

Direct Known Subclasses

Wrapper::Outgoing

Instance Method Summary collapse

Methods included from Outgoing

#success?

Methods included from Substation::Processor

#initialize, #name, #result, #success?

Instance Method Details

#call(response) ⇒ 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.

Call the processor


39
40
41
# File 'lib/substation/processor/transformer.rb', line 39

def call(response)
  respond_with(response, execute(response))
end