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



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

def key
  @key
end

#match_ip_addressBoolean

use the remote ip address in addition to the session ID.

Returns:

  • (Boolean)

    the current value of match_ip_address



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

def match_ip_address
  @match_ip_address
end

#match_user_agentBoolean

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

Returns:

  • (Boolean)

    the current value of match_user_agent



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

def match_user_agent
  @match_user_agent
end

#table_nameString

the name of the sessions table.

Returns:

  • (String)

    the current value of table_name



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

def table_name
  @table_name
end

#truncate_user_agentBoolean

truncate the user-agent to 120 characters.

Returns:

  • (Boolean)

    the current value of truncate_user_agent



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

def truncate_user_agent
  @truncate_user_agent
end