class AbrilHeartbeat::MysqlWrapper

Public Class Methods

check_status!() click to toggle source
# File lib/abril_heartbeat/wrappers/mysql_wrapper.rb, line 3
def self.check_status!
  ::ActiveRecord::Base.connection.current_database
end
client?() click to toggle source
# File lib/abril_heartbeat/wrappers/mysql_wrapper.rb, line 7
def self.client?
  !!defined?(ActiveRecord::Base.connection)
end