Class: HammerCLIForeman::Auth::LogoutCommand

Inherits:
HammerCLI::AbstractCommand
  • Object
show all
Defined in:
lib/hammer_cli_foreman/auth.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



77
78
79
80
81
# File 'lib/hammer_cli_foreman/auth.rb', line 77

def execute
  HammerCLIForeman.foreman_api_connection.logout
  print_message(_("Logged out."))
  HammerCLI::EX_OK
end