Sha256: b44383847b01174ab6feadcf1aea61778f3f5d34d985526e6f1e47e0b0493487
Contents?: true
Size: 439 Bytes
Versions: 5
Compression:
Stored size: 439 Bytes
Contents
module Sniffles module Sniffers class Casale 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? /as\.casalemedia\.com/ end end end end
Version data entries
5 entries across 5 versions & 1 rubygems