Class: WsdlMapper::Runtime::Port

Inherits:
Object
  • Object
show all
Includes:
SimplerInspect
Defined in:
lib/wsdl_mapper/runtime/port.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from SimplerInspect

#inspect

Constructor Details

- (Port) initialize(api, service)

Returns a new instance of Port

Parameters:



17
18
19
20
21
22
# File 'lib/wsdl_mapper/runtime/port.rb', line 17

def initialize(api, service)
  @_api = api
  @_service = service
  @_soap_address = nil
  @_operations = []
end

Instance Attribute Details

- (Array<WsdlMapper::Runtime::Operation>) _operations

Returns All operations contained in this port

Returns:



10
11
12
# File 'lib/wsdl_mapper/runtime/port.rb', line 10

def _operations
  @_operations
end

- (String) _soap_address

Returns URL of the SOAP service

Returns:

  • (String)

    URL of the SOAP service



10
11
12
# File 'lib/wsdl_mapper/runtime/port.rb', line 10

def _soap_address
  @_soap_address
end

Instance Method Details

- (Object) _load_requires

Force preloading of requires for all contained operations



25
26
27
# File 'lib/wsdl_mapper/runtime/port.rb', line 25

def _load_requires
  @_operations.each &:load_requires
end