Sha256: 7c00b3ffb89bd06ecddb05e52173f80fe9e4b990519deeb1596493f08e7c0bf5
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 Bytes
Contents
module Jamnagar module Refiners class UtmStripping < Refiner def initialize(stripper=nil) @stripper = stripper || Jamnagar::Utilities::UtmStripper.new end def refinement_result(item) {"final_url" => @stripper.strip(item["final_url"])} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jamnagar-1.3.9.1 | lib/jamnagar/refiners/utm_stripping.rb |
jamnagar-1.3.9 | lib/jamnagar/refiners/utm_stripping.rb |
jamnagar-1.3.8 | lib/jamnagar/refiners/utm_stripping.rb |