Class: ATS::CLI::ThreatGrid::Application

Inherits:
Thor
  • Object
show all
Defined in:
lib/ats/cli/threat_grid/application.rb

Instance Method Summary collapse

Instance Method Details

#whoamiObject



20
21
22
# File 'lib/ats/cli/threat_grid/application.rb', line 20

def whoami
  say JSON.pretty_generate(ATS::ThreatGrid::API.new(profile: options['profile']).whoami)
end