Module: HTTPX::Plugins::XML
- Defined in:
- lib/httpx/plugins/xml.rb
Overview
This plugin supports request XML encoding/response decoding using the nokogiri gem.
Defined Under Namespace
Modules: RequestBodyClassMethods, ResponseMethods, Transcoder
Constant Summary collapse
- MIME_TYPES =
%r{\b(application|text)/(.+\+)?xml\b}.freeze
Class Method Summary collapse
Class Method Details
.load_dependencies ⇒ Object
48 49 50 |
# File 'lib/httpx/plugins/xml.rb', line 48 def load_dependencies(*) require "nokogiri" end |