Class: SOAP::WSDL::Services
Instance Method Summary collapse
Methods inherited from Hash
Instance Method Details
#getServicePortForBindingName(name) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/wsdl-reader/service.rb', line 4 def getServicePortForBindingName( name ) self.each do |binding_name, binding| binding.ports.each do |port_name, port| return port if port[:binding].nns == name end end return nil end |