class FIS::CLI::Auth

Authentication-related Thor subcommands

Public Instance Methods

login(*) click to toggle source
# File lib/fis/cli/auth.rb, line 14
def login(*)
  if options[:help]
    invoke :help, ['login']
  else
    FIS::CLI::Commands::Login.new(options).execute
  end
end
logout(*) click to toggle source
# File lib/fis/cli/auth.rb, line 29
def logout(*)
  if options[:help]
    invoke :help, ['logout']
  else
    FIS::CLI::Commands::Logout.new(options).execute
  end
end
whoami(*) click to toggle source
# File lib/fis/cli/auth.rb, line 44
def whoami(*)
  if options[:help]
    invoke :help, ['whoami']
  else
    FIS::CLI::Commands::Whoami.new.execute
  end
end