class Nexaas::Auditor::Configuration

Attributes

enabled[RW]
log_app_events[RW]
logger[RW]
stathat_settings[RW]
statistics_namespace[RW]
statistics_service[RW]
track_app_events[RW]
track_rails_events[RW]

Public Class Methods

new() click to toggle source
# File lib/nexaas/auditor/configuration.rb, line 19
def initialize
  @enabled = nil # set to true when configure is called
  @logger = nil
  @log_app_events = false
  @track_app_events = false
  @track_rails_events = false
  @statistics_namespace = nil
  @statistics_service = 'log' # or 'stathat'
  @stathat_settings = {key: nil}
end

Public Instance Methods

[](option) click to toggle source

allow params to be read like a hash

# File lib/nexaas/auditor/configuration.rb, line 31
def [](option)
  send(option)
end