Class: WsdlMapper::Runtime::Middlewares::SimpleMessageFactory
- Inherits:
-
Object
- Object
- WsdlMapper::Runtime::Middlewares::SimpleMessageFactory
- Defined in:
- lib/wsdl_mapper/runtime/middlewares/simple_message_factory.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#call(operation, body, *args) ⇒ Array<WsdlMapper::Runtime::Operation, WsdlMapper::Runtime::Message>
Creates a new WsdlMapper::Runtime::Message with the given input
body.
Instance Method Details
#call(operation, body, *args) ⇒ Array<WsdlMapper::Runtime::Operation, WsdlMapper::Runtime::Message>
Creates a new WsdlMapper::Runtime::Message with the given input body.
It relies on Operation#new_input to create the message.
11 12 13 14 15 |
# File 'lib/wsdl_mapper/runtime/middlewares/simple_message_factory.rb', line 11 def call(operation, body, *args) = operation.new_input body: body [operation, ] end |