class WsdlMapper::Runtime::Api
Attributes
_services[R]
Public Class Methods
new(backend)
click to toggle source
@param [WsdlMapper::Runtime::SimpleHttpBackend] backend The backend to use
# File lib/wsdl_mapper/runtime/api.rb, line 15 def initialize(backend) @_backend = backend @_services = [] end
Public Instance Methods
_call(operation, *args)
click to toggle source
_call_async(operation, args_promise)
click to toggle source
Executes a request async using the configured backend. @param [WsdlMapper::Runtime::Operation] operation Operation
to call @param [Concurrent::Promise] args_promise Promise for request input @return [Concurrent::Promise] Promise for the response
# File lib/wsdl_mapper/runtime/api.rb, line 32 def _call_async(operation, args_promise) @_backend.dispatch_async operation, args_promise end
_load_requires()
click to toggle source
Force preloading of requires for all contained services
# File lib/wsdl_mapper/runtime/api.rb, line 37 def _load_requires @_services.each(&:_load_requires) end