Class: Workarea::Monitoring::MongoidCheck
- Inherits:
-
Object
- Object
- Workarea::Monitoring::MongoidCheck
- Defined in:
- lib/workarea/monitoring/mongoid_check.rb
Instance Method Summary collapse
Instance Method Details
#check ⇒ Object
5 6 7 8 |
# File 'lib/workarea/monitoring/mongoid_check.rb', line 5 def check status = database_up? [status, status ? 'Up' : 'Down'] end |