lib/soapy_cake/response.rb in soapy_cake-1.16.1 vs lib/soapy_cake/response.rb in soapy_cake-1.16.2
- old
+ new
@@ -62,10 +62,10 @@
fault = sax.for_tag(:fault).first
fail RequestFailed, fault[:reason][:text] if fault
end
def error_check_success!
- return if sax.for_tag(:success).first == 'true'
+ return if sax.for_tag(:success).first == 'true'.freeze
fail RequestFailed, error_message
end
def error_check_special_case?
# Don't ask...