Method: WSDL::Definitions#porttype_binding

Defined in:
lib/wsdl/definitions.rb

#porttype_binding(name) ⇒ Object



182
183
184
185
186
187
188
189
190
# File 'lib/wsdl/definitions.rb', line 182

def porttype_binding(name)
  binding = @bindings.find { |item| item.type == name }
  return binding if binding
  @imports.each do |import|
    binding = import.content.porttype_binding(name) if self.class === import.content
    return binding if binding
  end
  nil
end