Class: Easymon::TrafficEnabledCheck
- Inherits:
-
SemaphoreCheck
- Object
- SemaphoreCheck
- Easymon::TrafficEnabledCheck
- Defined in:
- lib/easymon/checks/traffic_enabled_check.rb
Instance Attribute Summary
Attributes inherited from SemaphoreCheck
Instance Method Summary collapse
Methods inherited from SemaphoreCheck
Constructor Details
This class inherits a constructor from Easymon::SemaphoreCheck
Instance Method Details
#check ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/easymon/checks/traffic_enabled_check.rb', line 3 def check check_status = semaphore_exists? if check_status = "ENABLED" else = "DISABLED" end [check_status, ] end |