Class: Deploio::Commands::Auth

Inherits:
Thor
  • Object
show all
Includes:
SharedOptions
Defined in:
lib/deploio/commands/auth.rb

Instance Method Summary collapse

Methods included from SharedOptions

included

Instance Method Details

#loginObject



11
12
13
14
# File 'lib/deploio/commands/auth.rb', line 11

def 
  setup_options
  @nctl.
end

#logoutObject



17
18
19
20
21
# File 'lib/deploio/commands/auth.rb', line 17

def logout
  setup_options
  @nctl.auth_logout
  Output.success("Logged out successfully")
end

#whoamiObject



24
25
26
27
# File 'lib/deploio/commands/auth.rb', line 24

def whoami
  setup_options
  @nctl.auth_whoami
end