Sha256: a80e07d439655545f81ea782be9df48dbaa0680fe19a05f4f46b639f7e405983
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
# frozen_string_literal: true module Aitch module ResponseParser module XMLParser def self.type :xml end def self.match?(content_type) content_type.include?("xml") end def self.load(source) Nokogiri::XML(source.to_s, nil, "utf-8") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aitch-2.0.0 | lib/aitch/response_parser/xml_parser.rb |
aitch-1.2.2 | lib/aitch/response_parser/xml_parser.rb |
aitch-1.2.1 | lib/aitch/response_parser/xml_parser.rb |