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)
-
- (Array<WsdlMapper::Runtime::Operation, WsdlMapper::Runtime::Message>) call(operation, body, *args)
Creates a new WsdlMapper::Runtime::Message with the given input
body
.
Instance Method Details
- (Array<WsdlMapper::Runtime::Operation, WsdlMapper::Runtime::Message>) call(operation, body, *args)
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 |