Class: CodewarsCli::Config

Inherits:
Thor
  • Object
show all
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, options)
end

#folder(folder) ⇒ Object



37
38
39
# File 'lib/codewars_cli/config.rb', line 37

def folder(folder)
  Configuration.write(folder, :folder, options)
end

#language(language) ⇒ Object



24
25
26
# File 'lib/codewars_cli/config.rb', line 24

def language(language)
  Configuration.write(language, :language, options)
end