Class: Wod::Command::App
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
#ask, #display_formatted, #error, #home_directory, #last_page_file, #wod_directory
Constructor Details
This class inherits a constructor from Wod::Command::Base
Instance Method Details
#login ⇒ Object
5 6 7 |
# File 'lib/wod/commands/app.rb', line 5 def login Wod::Command.run_internal "auth:reauthorize", args.dup end |
#logout ⇒ Object
9 10 11 12 |
# File 'lib/wod/commands/app.rb', line 9 def logout Wod::Command.run_internal "auth:delete_credentials", args.dup puts "Local credentials cleared." end |