Sha256: 70d9b3b585f0def7707385068a2acde0bc31b1bc79997d6d0317e51c6716b26f
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
module Sniffles module Sniffers class Quantcast include Text attr_accessor :doc attr_reader :output def initialize(response_body) @output = {} parse(response_body) && process_document end def process_document @output[:found] = found? end private def found? match?(/\.quantserve\.com\/quant\.js/) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems