Method: WSDL::Definitions#porttype

Defined in:
lib/wsdl/definitions.rb

#porttype(name) ⇒ Object



152
153
154
155
156
157
158
159
160
# File 'lib/wsdl/definitions.rb', line 152

def porttype(name)
  porttype = @porttypes[name]
  return porttype if porttype
  @imports.each do |import|
    porttype = import.content.porttype(name) if self.class === import.content
    return porttype if porttype
  end
  nil
end