Method: Codewars::Config#key
- Defined in:
- lib/codewars/config.rb
#key(secret_key) ⇒ Object
4 5 6 7 |
# 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 |