Class: DeployGate::Commands::Logout

Inherits:
Object
  • Object
show all
Defined in:
lib/deploygate/commands/logout.rb

Class Method Summary collapse

Class Method Details

.runvoid

This method returns an undefined value.



7
8
9
10
11
# File 'lib/deploygate/commands/logout.rb', line 7

def run
  DeployGate::Session.delete

  puts HighLine.color(I18n.t('commands.logout.success'), HighLine::GREEN)
end