class AuditedAsync::Configurator

Attributes

enabled[RW]
enabled?[RW]
job_name[RW]
job_options[RW]

Public Class Methods

new() click to toggle source
# File lib/audited_async/configurator.rb, line 5
def initialize
  @enabled     = true
  @job_name    = 'AuditedAsync::AuditAsyncJob'
  @job_options = { wait: 1.second }
end

Public Instance Methods

job() click to toggle source
# File lib/audited_async/configurator.rb, line 17
def job
  @job_name.constantize
end