module Totem

Defined in:

totem.cr
totem/any.cr
totem/config.cr
totem/config_builder.cr
totem/config_types.cr
totem/exception.cr
totem/remote_providers.cr
totem/utils.cr
totem/version.cr

Constant Summary

VERSION = "0.7.0"

Constructors

Class Method Summary

Constructor Detail

def self.new(config_name = "config", config_type : String | Nil = nil, config_paths : Array(String) = [] of String, config_env : String | Nil = nil, config_envs = Config::CONFIG_ENVS, key_delimiter : String | Nil = Config::KEY_DELIMITER) #

[View source]

Class Method Detail

def self.from_env(raw : String, key_delimiter : String = Config::KEY_DELIMITER) #

[View source]
def self.from_file(file : String, paths : Array(String) | Nil = nil, environment : String | Nil = nil, key_delimiter : String = Config::KEY_DELIMITER) #

[View source]
def self.from_json(raw : String, key_delimiter : String = Config::KEY_DELIMITER) #

[View source]
def self.from_yaml(raw : String, key_delimiter : String = Config::KEY_DELIMITER) #

[View source]
def self.parse(raw : String, config_type : String, key_delimiter : String = Config::KEY_DELIMITER) #

[View source]