Sha256: 12b212227dff37664211b72b15ba82dde79e0de85c85755a2ae56c2fb7831206
Contents?: true
Size: 865 Bytes
Versions: 3
Compression:
Stored size: 865 Bytes
Contents
# frozen_string_literal: true module Firebug # A configuration object. # # @attr [String] key the encryption key used to encrypt and decrypt cookies. # @attr [String] table_name the name of the sessions table. # @attr [Boolean] truncate_user_agent truncate the user-agent to 120 characters. # @attr [Boolean] match_user_agent use the user-agent in addition to the session ID. # @attr [Boolean] match_ip_address use the remote ip address in addition to the session ID. class Configuration attr_reader :table_name attr_accessor :key attr_accessor :truncate_user_agent attr_accessor :match_user_agent attr_accessor :match_ip_address # Sets the table name for +Firebug::Session+ # # @param [String] value def table_name=(value) Firebug::Session.table_name = value @table_name = value end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
firebug-0.1.10 | lib/firebug/configuration.rb |
firebug-0.1.9 | lib/firebug/configuration.rb |
firebug-0.1.8 | lib/firebug/configuration.rb |