Sha256: 16642ce70353f81d358dacf1814afd23c67ac54992da8b721ee21d4a1864610d
Contents?: true
Size: 437 Bytes
Versions: 3
Compression:
Stored size: 437 Bytes
Contents
module Sniffles module Sniffers class Shopify 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? /cdn\.shopify\.com/ end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sniffles-0.1.5 | lib/sniffles/sniffers/cms/shopify.rb |
sniffles-0.1.4 | lib/sniffles/sniffers/cms/shopify.rb |
sniffles-0.1.3 | lib/sniffles/sniffers/cms/shopify.rb |