Enable
Constants
CONFIG_DIR = (Path.home / ".config") / "enable"
CONFIG_FILE = CONFIG_DIR / "config.json"
CREDENTIALS_FILE = CONFIG_DIR / "credentials.json"
VERSION = "0.10.2"
Class methods
cmd_companies_list
Sourcecmd_status
Sourcecmd_tasks_comment(company_id : String, id : String, body_text : String, contract_id : String | Nil = nil)
Sourcecmd_tasks_create(company_id : String, title : String, description : String | Nil = nil, assignee_id : String | Nil = nil, priority : String | Nil = nil, parent_id : String | Nil = nil, creator_contract_id : String | Nil = nil)
SourceThe "name" of a nested object such as "assignee", or nil when that object is null.
A field as a string, or nil when the key is missing or its value is null.
data["x"]?.try(&.as_s) raises on "x": null: []? returns JSON::Any(nil), not nil.