Class: Firebug::Configuration

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

Overview

A configuration object.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

the encryption key used to encrypt and decrypt cookies.

Returns:

  • (String)

    the current value of key



10
11
12
# File 'lib/firebug/configuration.rb', line 10

def key
  @key
end

#match_user_agentBoolean

use the user-agent in addition to the session ID.

Returns:

  • (Boolean)

    the current value of match_user_agent



10
11
12
# File 'lib/firebug/configuration.rb', line 10

def match_user_agent
  @match_user_agent
end

#table_nameString

the name of the sessions table.

Returns:

  • (String)

    the current value of table_name



10
11
12
# File 'lib/firebug/configuration.rb', line 10

def table_name
  @table_name
end

#truncate_useragentBoolean

truncate the user-agent to 120 characters.

Returns:

  • (Boolean)

    the current value of truncate_useragent



10
11
12
# File 'lib/firebug/configuration.rb', line 10

def truncate_useragent
  @truncate_useragent
end