Sha256: ce459a7e003bf4cd8308e5ab32fde7f34a08b58ef5d5fca359a6c194b8c08a9b
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
# frozen_string_literal: true module SnowplowRubyDuid # This is the configuration object that is used for two additional cookie settings # that can't be deferred from the request/response objects module Configuration @allowed = %i[none lax strict] @same_site = :none @secure = true def self.same_site=(value) raise "Not allowed value #{value}, use one of these: #{@allowed}" unless @allowed.include?(value) @same_site = value end def self.secure=(value) @secure = value end def self.same_site @same_site end def self.secure @secure end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snowplow_ruby_duid-1.1.0.prerelease.1 | lib/snowplow_ruby_duid/configuration.rb |