Sha256: 8ba0723920bc496430fdc021cbc7d33f23c3b62bf57137912328d32e334af07d
Contents?: true
Size: 341 Bytes
Versions: 66
Compression:
Stored size: 341 Bytes
Contents
# frozen_string_literal: true module Onebox module Engine module HTML private # Overwrite for any custom headers def http_params {} end def raw @raw ||= Onebox::Helpers.fetch_html_doc(url, http_params) end def html? raw.respond_to(:css) end end end end
Version data entries
66 entries across 66 versions & 1 rubygems