Module: RailsSameSiteCookie

Defined in:
lib/rails_same_site_cookie.rb,
lib/rails_same_site_cookie/railtie.rb,
lib/rails_same_site_cookie/version.rb,
lib/rails_same_site_cookie/middleware.rb,
lib/rails_same_site_cookie/configuration.rb,
lib/rails_same_site_cookie/user_agent_checker.rb

Defined Under Namespace

Classes: Configuration, Error, Middleware, Railtie, UserAgentChecker

Constant Summary collapse

VERSION =
"0.1.9"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



12
13
14
# File 'lib/rails_same_site_cookie.rb', line 12

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/rails_same_site_cookie.rb', line 16

def self.configure
  yield(configuration)
end