Class: WsdlMapper::Runtime::Middlewares::AsyncDispatcher
- Inherits:
-
SimpleDispatcher
- Object
- SimpleDispatcher
- WsdlMapper::Runtime::Middlewares::AsyncDispatcher
- Defined in:
- lib/wsdl_mapper/runtime/middlewares/async_dispatcher.rb
Instance Attribute Summary
Attributes inherited from SimpleDispatcher
Instance Method Summary (collapse)
Methods inherited from SimpleDispatcher
Constructor Details
This class inherits a constructor from WsdlMapper::Runtime::Middlewares::SimpleDispatcher
Instance Method Details
- (Object) call(operation, request_promise)
11 12 13 14 15 16 17 |
# File 'lib/wsdl_mapper/runtime/middlewares/async_dispatcher.rb', line 11 def call(operation, request_promise) http_response_promise = request_promise.then do |request| super(operation, request).last end [operation, http_response_promise] end |