Class: Substation::Processor::Transformer::Outgoing
- Inherits:
-
Object
- Object
- Substation::Processor::Transformer::Outgoing
- Includes:
- Outgoing
- Defined in:
- lib/substation/processor/transformer.rb
Overview
A transformer used to transform an outgoing response
Direct Known Subclasses
Instance Attribute Summary
Attributes included from Substation::Processor
Instance Method Summary collapse
-
#call(response) ⇒ Response
private
Call the processor.
Methods included from Outgoing
Methods included from Substation::Processor
#initialize, #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 |