Sha256: 4998d3524e3fdf721a8eb440c37ab43501436d9515bbf5a4a539499059243612
Contents?: true
Size: 312 Bytes
Versions: 3
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true module Aitch module ResponseParser module HTMLParser def self.type :html end def self.match?(content_type) content_type.include?("html") end def self.load(source) Nokogiri::HTML(source.to_s) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aitch-2.0.0 | lib/aitch/response_parser/html_parser.rb |
aitch-1.2.2 | lib/aitch/response_parser/html_parser.rb |
aitch-1.2.1 | lib/aitch/response_parser/html_parser.rb |