class Codewars::Config
Public Instance Methods
key(secret_key)
click to toggle source
# File lib/codewars/config.rb, line 4 def key(secret_key) Configuration.write_option_to_config('api_key', secret_key) say "You've successefully added the api-key to the configuration file" end
language(default_language)
click to toggle source
# File lib/codewars/config.rb, line 10 def language(default_language) Configuration.write_option_to_config('language', default_language) say "You've successefully added the default language to the configuration file" end