Sha256: 747c07c737f0a3842dcd2d26005b5c7b9f623f79880914d40f7c34398c6936e1
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
module Sniffles module Sniffers class Tribalfusion 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? /a\.tribalfusion\.com/ end end end end
Version data entries
4 entries across 4 versions & 1 rubygems