Sha256: 165178123da685454ba4cd8611dbfe0939c23924f930650c4b79de2a29c9afaf
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module SiteHealth module Checkers class XMLPage def self.check(page) new(page).check end attr_reader :page, :url # @param [Spidr::Page] the crawled page def initialize(page) @page = page @url = page.url end def check XMLJournal.new(url: url, page: page, errors: page.doc.errors) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
site_health-0.1.0 | lib/site_health/checkers/xml_page.rb |