Class: Travis::CLI::Gh::Whoami
- Inherits:
-
ApiCommand
- Object
- ApiCommand
- Travis::CLI::Gh::Whoami
- Includes:
- GitHub::Authenticated
- Defined in:
- lib/travis/cli/gh/whoami.rb
Instance Method Summary collapse
Methods included from GitHub::Authenticated
Instance Method Details
#run ⇒ Object
7 8 9 |
# File 'lib/travis/cli/gh/whoami.rb', line 7 def run say gh['user']['login'], 'logged in as %s' end |