Class: Vermillion::Controller::Status

Inherits:
Base
  • Object
show all
Defined in:
lib/client/controller/status.rb

Constant Summary

Constants inherited from Base

Base::OK, Base::QUIT, Base::QUIT_SOFT

Instance Attribute Summary

Attributes inherited from Base

#request

Instance Method Summary collapse

Methods inherited from Base

#can_exec?, #exec, #initialize, #post_exec, #pre_exec, #sample

Constructor Details

This class inherits a constructor from Vermillion::Controller::Base

Instance Method Details

#configObject

Print configuration information



13
14
15
# File 'lib/client/controller/status.rb', line 13

def config
  print_config
end

#defaultObject

Prints both configuration and server information, returns status code 0



5
6
7
8
9
10
# File 'lib/client/controller/status.rb', line 5

def default
  print_config
  print_servers

  OK
end

#serversObject

Print configured server information



18
19
20
# File 'lib/client/controller/status.rb', line 18

def servers
  print_servers
end