Class: Rage::Configuration::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/rage/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Specify the name of the session cookie.

Examples:

Change the session cookie name

Rage.configure do
  config.session.key = "_myapp_session"
end

Returns:

  • (String)


1111
1112
1113
# File 'lib/rage/configuration.rb', line 1111

def key
  @key
end