lib/braintree/xml/parser.rb in braintree-2.46.0 vs lib/braintree/xml/parser.rb in braintree-2.47.0
- old
+ new
@@ -17,10 +17,10 @@
typecasted_xml = _typecast_xml_value(with_underscores_in_keys)
Util.symbolize_keys(typecasted_xml)
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
end
end