Sha256: e7391c94b508028f0fbd118a189286bcb59f69ffff87a7d27932916c8a0e7d5d
Contents?: true
Size: 391 Bytes
Versions: 5
Compression:
Stored size: 391 Bytes
Contents
# Encoding: utf-8 module ChemistryKit module SplitTesting class OptimizelyProvider attr_reader :config def initialize(config) @config = config end def split(driver) driver.get config.base_url driver.manage.add_cookie(name: 'optimizelyOptOut', value: config.opt_out?.to_s) driver.navigate.refresh end end end end
Version data entries
5 entries across 5 versions & 1 rubygems