Class: CodewarsCli::Config
- Inherits:
-
Thor
- Object
- Thor
- CodewarsCli::Config
- Defined in:
- lib/codewars_cli/config.rb
Instance Method Summary collapse
Instance Method Details
#api_key(api_key) ⇒ Object
5 6 7 |
# File 'lib/codewars_cli/config.rb', line 5 def api_key(api_key) Configuration.write(api_key, :api_key, ) end |
#folder(folder) ⇒ Object
37 38 39 |
# File 'lib/codewars_cli/config.rb', line 37 def folder(folder) Configuration.write(folder, :folder, ) end |
#language(language) ⇒ Object
24 25 26 |
# File 'lib/codewars_cli/config.rb', line 24 def language(language) Configuration.write(language, :language, ) end |