class Amber::Environment::Settings

Defined in:

amber/environment/settings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node, _dummy : Nil) #

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Instance Method Detail

def auto_reload : Bool #

def auto_reload=(_auto_reload : Bool) #

def auto_reload? : Bool #

[View source]
def database_url : String #

def database_url=(_database_url : String) #

def host : String #

def host=(_host : String) #

def logging #

[View source]
def logging=(_logging : Logging::OptionsType) #

def name : String #

def name=(_name : String) #

def pipes : Hash(String, Hash(String, Hash(String, Bool | Int32 | String | Nil))) #

def pipes=(_pipes : Hash(String, Hash(String, Hash(String, SettingValue)))) #

def port : Int32 #

def port=(_port : Int32) #

def port_reuse : Bool #

def port_reuse=(_port_reuse : Bool) #

def process_count : Int32 #

def process_count=(_process_count : Int32) #

def redis_url : String? #

def redis_url=(redis_url : String | Nil) #

[View source]
def redis_url=(_redis_url : Union(String, Nil)) #

def secret_key_base : String #

def secret_key_base=(_secret_key_base : String) #

def secrets : Hash(String, String) #

def secrets=(_secrets : Hash(String, String)) #

def session #

[View source]
def session=(_session : Hash(String, Int32 | String)) #

def session_store #

[View source]
def smtp : SMTPSettings #

[View source]
def smtp=(_smtp : Hash(String, SettingValue)) #

def ssl_cert_file : String? #

def ssl_cert_file=(ssl_cert_file : String) #

[View source]
def ssl_cert_file=(_ssl_cert_file : Union(String, Nil)) #

def ssl_key_file : String? #

def ssl_key_file=(ssl_key_file : String) #

[View source]
def ssl_key_file=(_ssl_key_file : Union(String, Nil)) #

def to_yaml(__temp_109 : YAML::Nodes::Builder) #