Class: WsdlMapper::Runtime::BackendBase

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/runtime/backend_base.rb

Direct Known Subclasses

AsyncHttpBackend, SimpleHttpBackend

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBackendBase



12
13
14
# File 'lib/wsdl_mapper/runtime/backend_base.rb', line 12

def initialize
  @stack = MiddlewareStack.new
end

Instance Attribute Details

#stackWsdlMapper::Runtime::MiddlewareStack



12
13
14
# File 'lib/wsdl_mapper/runtime/backend_base.rb', line 12

def stack
  @stack
end

Instance Method Details

#dispatch(operation, *input) ⇒ Object



16
17
18
# File 'lib/wsdl_mapper/runtime/backend_base.rb', line 16

def dispatch(operation, *input)
  stack.execute([operation, *input]).last
end