Class: RogIQ::Commands::Status

Inherits:
Base
  • Object
show all
Defined in:
lib/rogiq/commands/status.rb

Instance Method Summary collapse

Instance Method Details

#dashboardObject



19
20
21
22
23
24
25
26
# File 'lib/rogiq/commands/status.rb', line 19

def dashboard
  return ping_only if options[:ping]

  subset = options[:queues] || options[:db] || options[:redis] || options[:ai]
  return dashboard_partial if subset

  dashboard_full
end