Class: WsdlMapper::Runtime::Port
- Inherits:
-
Object
- Object
- WsdlMapper::Runtime::Port
- Includes:
- SimplerInspect
- Defined in:
- lib/wsdl_mapper/runtime/port.rb
Instance Attribute Summary collapse
-
#_operations ⇒ Array<WsdlMapper::Runtime::Operation>
All operations contained in this port.
-
#_soap_address ⇒ String
URL of the SOAP service.
Instance Method Summary collapse
-
#_load_requires ⇒ Object
Force preloading of requires for all contained operations.
-
#initialize(api, service) ⇒ Port
constructor
A new instance of Port.
Methods included from SimplerInspect
Constructor Details
#initialize(api, service) ⇒ Port
Returns a new instance of Port.
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
#_operations ⇒ Array<WsdlMapper::Runtime::Operation>
Returns All operations contained in this port.
10 11 12 |
# File 'lib/wsdl_mapper/runtime/port.rb', line 10 def _operations @_operations end |
#_soap_address ⇒ String
Returns 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_requires ⇒ Object
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 |