Top Level Namespace
Defined Under Namespace
Modules: Todone
Instance Method Summary collapse
Instance Method Details
#ensure_config_exists! ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'bin/todone', line 14 def ensure_config_exists! if Todone::MessageProcessor.needs_init? setup = {} setup[:api_key] = ask("API Key: ") {|q| q.echo = true} setup[:owner] = ask("Username: "){|q| q.echo = true} Todone::MessageProcessor.init setup end end |