module HTTPX::Plugins::XML::ResponseMethods

  1. lib/httpx/plugins/xml.rb

Methods

Public Instance

  1. xml

Public Instance methods

xml()

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

[show source]
   # File lib/httpx/plugins/xml.rb
56 def xml
57   decode(Transcoder)
58 end