Sha256: 040561bee5ecc15a2c8a1207dd915232a7abc2d54a978085bc8796f729a5f23f

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 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.
  class Configuration
    attr_reader :table_name

    attr_accessor :key

    # 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

2 entries across 2 versions & 1 rubygems

Version Path
firebug-0.1.0 lib/firebug/configuration.rb
firebug-0.0.7 lib/firebug/configuration.rb