class Config
- Config
- Reference
- Object
Overview
The Config class reads the config from a given YAML file and creates appropriate getters for the expected fields.
Defined in:
lib/config.crConstructors
Instance Method Summary
-
#getBoardDescription
Gets the board description from the config.
-
#getBoardName
Gets the board name from the config.
-
#getDbPath
Gets the database path from the config.
-
#getMaxReplies
Gets the maximum amount of replies from the config.
-
#getMaxThreads
Get the maximum amount of threads from the config.
-
#getSecretKey
Gets the secret key from the config.
-
#getThreadsPerPage
Gets the maximum amount of threads per page from the config.
-
#reload
Reloads the YAML config.