Class: WsdlMapper::Runtime::Service

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SimplerInspect

#inspect

Constructor Details

#initialize(api) ⇒ Service

Returns a new instance of Service.

Parameters:



14
15
16
17
# File 'lib/wsdl_mapper/runtime/service.rb', line 14

def initialize(api)
  @_api = api
  @_ports = []
end

Instance Attribute Details

#_portsArray<WsdlMapper::Runtime::Port>

Returns All ports contained in this service.

Returns:



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

def _ports
  @_ports
end

Instance Method Details

#_load_requiresObject

Force preloading of requires for all contained ports



20
21
22
# File 'lib/wsdl_mapper/runtime/service.rb', line 20

def _load_requires
  @_ports.each(&:_load_requires)
end