Permalink
Browse files

fixes the checks to see whther LibXML is defined. It needs to check f…

…or LibXML not LibXml
  • Loading branch information...
MSeneadza committed Jun 26, 2014
1 parent 66b6ca3 commit fc9f94a6b932109706c202248e1f562a3c658432
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/braintree/xml/parser.rb
@@ -19,7 +19,7 @@ def self.hash_from_xml(xml, parser = _determine_parser)
end
def self._determine_parser
if defined?(::LibXml::XML) && ::LibXml::XML.respond_to?(:default_keep_blanks=)
if defined?(::LibXML::XML) && ::LibXML::XML.respond_to?(:default_keep_blanks=)
::Braintree::Xml::Libxml
else
::Braintree::Xml::Rexml

0 comments on commit fc9f94a

Please sign in to comment.