Dorsum::Config
Inherits Reference < Object
Constants
ATTRIBUTES = ["client_id", "client_secret", "username", "password"] of ::String
FILENAME = PATH.join("config.yml")
PATH = Path["~/.config/dorsum"].expand(home: true)
Constructors
new(data : YAML::Any)
Sourcenew(data : Hash(String, YAML::Any | String))
Sourcenew
SourceClass methods
load(path = FILENAME)
SourceInstance methods
client_id
Sourceclient_id=(value : String)
Sourceclient_id=(value : YAML::Any)
Sourceclient_id?
Sourceclient_secret
Sourceclient_secret=(value : String)
Sourceclient_secret=(value : YAML::Any)
Sourceclient_secret?
Sourcedata
Sourcedata=(data : Hash(String, YAML::Any))
Sourcepassword
Sourcepassword=(value : String)
Sourcepassword=(value : YAML::Any)
Sourcepassword?
Sourcesave(path = FILENAME)
Sourceusername
Sourceusername=(value : String)
Sourceusername=(value : YAML::Any)
Sourceusername?
Source