Skip to content
Browse files

Cleanup Error Detection Logic in response.rb

  • Loading branch information...
1 parent fc0791c commit fd6647f42c1c3876c33d7b4c71f7c11f56e96799 @dnunez24 committed Apr 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/savon/soap/response.rb
View
2 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.
Something went wrong with that request. Please try again.