Permalink
Browse files

Cleanup Error Detection Logic in response.rb

  • Loading branch information...
dnunez24 committed Apr 8, 2012
1 parent fc0791c commit fd6647f42c1c3876c33d7b4c71f7c11f56e96799
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/savon/soap/response.rb
@@ -21,7 +21,7 @@ def initialize(response)
# Returns whether the request was successful.
def success?
- !soap_fault? && !http_error?
+ !(soap_fault? || http_error?)
end
# Returns whether there was a SOAP fault.

0 comments on commit fd6647f

Please sign in to comment.