Permalink
Browse files

alteração para suportar chamadas a WS RPC

  • Loading branch information...
1 parent 408e838 commit 83c31d257f49cb8d0c309ea95f61615778983f35 @felipecvo committed Apr 6, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/wsdl_client.rb
View
@@ -22,7 +22,9 @@ def self.#{m}(*args, &block)
args[0] = nil
end
- result = @driver.__send__(:#{m}, *args, &block).#{m}Result
+ result = @driver.__send__(:#{m}, *args, &block)
+
+ result = #{m}Result if result.respond_to?(:#{m}Result)
methods = result.methods - SOAP::Mapping::Object.instance_methods

0 comments on commit 83c31d2

Please sign in to comment.