class Tolaria::Configuration

Tolaria’s configuration is a class so that an exception is raised if you try to configure a key that doesn't exist. Refer to the comments in the initializer that Tolaria generated for you when you ran `rails generate tolaria:install`.

Attributes

bcrypt_cost[RW]

The cost factor for bcrypt

company_name[RW]

The name of the company using this admin interface

default_redirect[RW]

The default redirect path when administrators log in or no better path exists

display_name_methods[RW]

An array of method names Tolaria uses to attempt to convert a model to a string

from_address[RW]

The `From` header for emails Tolaria sends

lockout_duration[RW]

The number of seconds that an administrator is locked out when they hit the rate-limit

lockout_threshold[RW]

The number of times an administrator can flunk their passcode challenge or request a token before Tolaria disables their account.

markdown_renderer[RW]

A string that names a Markdown renderer for Tolaria to use.

menu_categories[RW]

An array of configured menu category labels

page_size[RW]

The default page size Tolaria uses when paginating

passcode_lifespan[RW]

The number of seconds that a generated passcode is valid

permitted_params[RW]

The default array of permitted params (internal use only)