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

#initialize(api, service) ⇒ Port

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

#_operationsArray<WsdlMapper::Runtime::Operation>

Returns All operations contained in this port.

Returns:



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

def _operations
  @_operations
end

#_soap_addressString

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

#_load_requiresObject

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