# 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_useragent # @attr [Boolean] match_useragent # @attr [Boolean] match_ip class Configuration attr_reader :table_name attr_accessor :key attr_accessor :truncate_useragent attr_accessor :match_useragent attr_accessor :match_ip # def initialize # @truncate_useragent = false # @match_useragent = false # @match_ip = false # end # 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