Class: Rubyists::Linear::CLI::WhoAmI

Inherits:
Object
  • Object
show all
Includes:
Caller, CommonOptions, SemanticLogger::Loggable
Defined in:
lib/linear/commands/whoami.rb

Overview

The WhoAmI command

Instance Method Summary collapse

Methods included from CommonOptions

#display, included

Methods included from Caller

prepended

Instance Method Details

#call(**options) ⇒ Object



21
22
23
24
# File 'lib/linear/commands/whoami.rb', line 21

def call(**options)
  logger.debug 'Getting user info'
  display Rubyists::Linear::User.me(teams: options[:teams]), options
end