Sha256: 839ae25605fdeee704dbc2b8aee532a28c8c9fb88696ae5a0488d530c8fba3e7
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
module Sniffles module Sniffers class Mixpanel 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?(/api\.mixpanel\.com\S+mixpanel\.js/) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems