Class: HealthyRack::Checks::Sequel
- Inherits:
-
HealthyRack::Check
- Object
- HealthyRack::Check
- HealthyRack::Checks::Sequel
- Defined in:
- lib/healthy_rack/checks/sequel.rb
Instance Method Summary collapse
Methods inherited from HealthyRack::Check
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 |
# File 'lib/healthy_rack/checks/sequel.rb', line 11 def call ::Sequel::Model.db.select(nil).first true rescue false end |
#verify ⇒ Object
7 8 9 |
# File 'lib/healthy_rack/checks/sequel.rb', line 7 def verify VerifyClassDefinition.call('Sequel') end |