Class: GDK::Diagnostic::Status
- Defined in:
- lib/gdk/diagnostic/status.rb
Constant Summary collapse
- TITLE =
'GDK Status'
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#detail ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/gdk/diagnostic/status.rb', line 12 def detail return if success? <<~MESSAGE The following services are not running but should be: #{down_services.join("\n")} MESSAGE end |
#success? ⇒ Boolean
8 9 10 |
# File 'lib/gdk/diagnostic/status.rb', line 8 def success? down_services.empty? end |