class RSUS::Config

Included Modules

Defined in:

rsus/config.cr

Constant Summary

CONFIG_FILE = "config.yml"

Constructors

Instance Method Summary

Constructor Detail

def self.load : Config #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def environment : String #

[View source]
def environment=(environment : String) #

[View source]
def log(event, body = {} of String => String) #

[View source]
def logfile : String #

[View source]
def logfile=(logfile : String) #

[View source]
def max_size : Int32 #

[View source]
def max_size=(max_size : Int32) #

[View source]
def site : String #

[View source]
def site=(site : String) #

[View source]
def slug_size : Int32 #

[View source]
def slug_size=(slug_size : Int32) #

[View source]
def store : String #

[View source]
def store=(store : String) #

[View source]
def token?(auth) #

[View source]
def tokens : Hash(String, String) #

[View source]
def tokens=(tokens : Hash(String, String)) #

[View source]