Class: RenuoCliConfig
- Inherits:
-
Object
- Object
- RenuoCliConfig
- Defined in:
- lib/renuo/cli/app/services/renuo_cli_config.rb
Constant Summary collapse
- CONFIG_FILE_PATH =
"#{File.("~")}/.renuo_cli".freeze
Class Method Summary collapse
Class Method Details
.redmine_api_key ⇒ Object
9 10 11 |
# File 'lib/renuo/cli/app/services/renuo_cli_config.rb', line 9 def redmine_api_key get_config_value("REDMINE_API_KEY", "https://redmine.renuo.ch/my/account") end |
.toggl_api_token ⇒ Object
13 14 15 |
# File 'lib/renuo/cli/app/services/renuo_cli_config.rb', line 13 def toggl_api_token get_config_value("TOGGL_API_TOKEN", "https://toggl.com/app/profile") end |