Class: HTTParty::YMXMLParser Private

Inherits:
Parser
  • Object
show all
Defined in:
lib/httparty/ym_xml_parser.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Bug Fix for HTML encoded < and > in XML body. In order to parse the HTML encoded documents returned by the YourMembership API we need to HTML decode the <![CDATA[ tags.

Instance Method Summary collapse

Instance Method Details

#bodyObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/httparty/ym_xml_parser.rb', line 12

def body
  decode(@body)
end