Module: HTTPX::Plugins::XML::ResponseMethods

Defined in:
lib/httpx/plugins/xml.rb

Instance Method Summary collapse

Instance Method Details

#xmlObject

decodes the response payload into a Nokogiri::XML::Node object if the payload is valid “application/xml” (requires the “nokogiri” gem).



56
57
58
# File 'lib/httpx/plugins/xml.rb', line 56

def xml
  decode(Transcoder)
end