Class: Hermes::Checks::HealthCheck
- Inherits:
-
Object
- Object
- Hermes::Checks::HealthCheck
- Defined in:
- lib/hermes/checks/health_check.rb
Class Method Summary collapse
Class Method Details
.check ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/hermes/checks/health_check.rb', line 4 def self.check broker = Hutch::Broker.new broker.connect broker.disconnect "" rescue StandardError => e "[Hermes - #{e.}] " end |