Class: Deploio::Commands::Auth
- Inherits:
-
Thor
- Object
- Thor
- Deploio::Commands::Auth
- Includes:
- SharedOptions
- Defined in:
- lib/deploio/commands/auth.rb
Instance Method Summary collapse
Methods included from SharedOptions
Instance Method Details
#login ⇒ Object
11 12 13 14 |
# File 'lib/deploio/commands/auth.rb', line 11 def login @nctl.auth_login end |
#logout ⇒ Object
17 18 19 20 21 |
# File 'lib/deploio/commands/auth.rb', line 17 def logout @nctl.auth_logout Output.success("Logged out successfully") end |
#whoami ⇒ Object
24 25 26 27 |
# File 'lib/deploio/commands/auth.rb', line 24 def whoami @nctl.auth_whoami end |