class Socrates::Configuration
Attributes
error_handler[RW]
error_message[RW]
expired_timeout[RW]
logger[RW]
storage[RW]
view_path[RW]
warn_handler[RW]
Public Class Methods
new()
click to toggle source
# File lib/socrates/configuration.rb, line 23 def initialize @storage = Storage::Memory.new @error_message = "Sorry, something went wrong. We'll have to start over..." @expired_timeout = 30.minutes @logger = Socrates::Logger.default @error_handler = proc { |_message, _error| } # rubocop:disable Lint/EmptyBlock @warn_handler = proc { |_message| } # rubocop:disable Lint/EmptyBlock end