Class: RailsHealthChecks::Check
- Inherits:
-
Object
- Object
- RailsHealthChecks::Check
- Defined in:
- lib/rails_health_checks/check.rb
Direct Known Subclasses
RailsHealthChecks::Checks::CacheCheck, RailsHealthChecks::Checks::DatabaseCheck, RailsHealthChecks::Checks::GoodJobCheck, RailsHealthChecks::Checks::ResqueCheck, RailsHealthChecks::Checks::SidekiqCheck, RailsHealthChecks::Checks::SolidQueueCheck
Instance Attribute Summary collapse
-
#latency_ms ⇒ Object
readonly
Returns the value of attribute latency_ms.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#latency_ms ⇒ Object (readonly)
Returns the value of attribute latency_ms.
5 6 7 |
# File 'lib/rails_health_checks/check.rb', line 5 def latency_ms @latency_ms end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/rails_health_checks/check.rb', line 5 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/rails_health_checks/check.rb', line 5 def status @status end |
Instance Method Details
#call ⇒ Object
7 8 9 |
# File 'lib/rails_health_checks/check.rb', line 7 def call raise NotImplementedError, "#{self.class} must implement #call" end |