Class: SOAP::WSDL::Bindings
Instance Method Summary collapse
Methods inherited from Hash
Instance Method Details
#getBindingForOperationName(binding, name) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/soap/lc/wsdl/binding.rb', line 4 def getBindingForOperationName( binding, name ) r = [] if binding.nil? self.each do |binding_name, binding| r << binding if binding.operations.keys.include?(name) end else r << self[binding] if self[binding].operations.keys.include?(name) end return r end |
#getOperations(binding = nil) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/soap/lc/wsdl/binding.rb', line 16 def getOperations( binding = nil ) r = [] if binding.nil? self.each do |binding_name, binding| r = r + binding.operations.keys end else r = r + self[binding].operations.keys end return r end |