class StatusPage::Services::Database
Public Instance Methods
check!()
click to toggle source
# File lib/status-page/services/database.rb, line 6 def check! # Check connection to the DB: ActiveRecord::Migrator.current_version rescue Exception => e raise DatabaseException.new(e.message) end