class ExceptionHunter::Config
Config
singleton class used to customize ExceptionHunter
Public Class Methods
auth_enabled?()
click to toggle source
Returns true if there's an admin user class configured to authenticate against.
@return Boolean
# File lib/exception_hunter/config.rb, line 28 def self.auth_enabled? admin_user_class.present? && admin_user_class.try(:underscore) end