Class: WsdlMapper::Runtime::Service
- Inherits:
-
Object
- Object
- WsdlMapper::Runtime::Service
- Includes:
- SimplerInspect
- Defined in:
- lib/wsdl_mapper/runtime/service.rb
Instance Attribute Summary collapse
-
#_ports ⇒ Array<WsdlMapper::Runtime::Port>
All ports contained in this service.
Instance Method Summary collapse
-
#_load_requires ⇒ Object
Force preloading of requires for all contained ports.
-
#initialize(api) ⇒ Service
constructor
A new instance of Service.
Methods included from SimplerInspect
Constructor Details
#initialize(api) ⇒ Service
Returns a new instance of Service.
14 15 16 17 |
# File 'lib/wsdl_mapper/runtime/service.rb', line 14 def initialize(api) @_api = api @_ports = [] end |
Instance Attribute Details
#_ports ⇒ Array<WsdlMapper::Runtime::Port>
Returns All ports contained in this service.
10 11 12 |
# File 'lib/wsdl_mapper/runtime/service.rb', line 10 def _ports @_ports end |
Instance Method Details
#_load_requires ⇒ Object
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 |