Sha256: a174091983b4ba8e75e9fc10b3709810e9af24578ceec225d2232eaa2f0cdd1b
Contents?: true
Size: 436 Bytes
Versions: 4
Compression:
Stored size: 436 Bytes
Contents
module Sniffles module Sniffers class Piwik 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?(/Piwik\.getTracker/) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems