class Backend::Config

Overview

Environment based configuration class

Included Modules

Defined in:

backend/config.cr

Instance Method Summary

Instance Method Detail

def api : ApiConfig #

Configuration for Api


def assignment_run_time : UInt32 #

Assignment max run time for algorithm


def auth : AuthConfig #

Configuration for authorization provider


def build_env : BuildEnv #

Type of environment program is running in


def db : DbConfig #

Configuration for Db


def development? : Bool #

Development mode

true if the build environment is BuildEnv::Development


def minimum_teacher_selection_count : Int32 #

Minimum teacher selection count


def redis : RedisConfig #

def release? : Bool #

Release mode

true if the build environment is BuildEnv::Release