class RackSessionManipulation::Config
A data storage structure for holding configuration related information.
Attributes
encoder[RW]
path[RW]
Public Class Methods
new(options = {})
click to toggle source
Setup the configuration object with the provided options, falling back on the configured defaults.
@param [Hash<Symbol=>Object>] options Override the default configuration
options with the provided parameters.
# File lib/rack_session_manipulation/config.rb, line 20 def initialize(options = {}) options = DEFAULT_OPTIONS.merge(options) self.encoder = options[:encoder] self.path = options[:path] end