class DBQueryMatchers::Configuration

Configuration for the DBQueryMatcher module.

Attributes

backtrace_filter[RW]
db_event[RW]
ignores[RW]
log_backtrace[RW]
on_query_counted[RW]
schemaless[RW]

Public Class Methods

new() click to toggle source
# File lib/db_query_matchers/configuration.rb, line 6
def initialize
  @db_event = "sql.active_record"
  @ignores = []
  @on_query_counted = Proc.new { }
  @schemaless = false
  @log_backtrace = false
  @backtrace_filter = Proc.new { |backtrace| backtrace }
end