class Quickbooks::Service::BaseService
def response_is_error?
def response_is_error? begin @last_response_xml.xpath("//xmlns:IntuitResponse/xmlns:Fault")[0] != nil rescue Nokogiri::XML::XPath::SyntaxError => exception #puts @last_response_xml.to_xml.to_s #puts "WTF: #{exception.inspect}:#{exception.backtrace.join("\n")}" true end end