Class: Vkit::CLI::Commands::WhoamiCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Vkit::CLI::Commands::WhoamiCommand
- Defined in:
- lib/vkit/cli/commands/whoami_command.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 |
# File 'lib/vkit/cli/commands/whoami_command.rb', line 5 def call user = fetch_user_from_server_or_fallback puts "👤 #{user['email']} " \ "(role: #{user['role']}, org: #{user['organization_slug']})" end |