Module: AuditLoggable

Defined in:
lib/audit_loggable.rb,
lib/audit_loggable/store.rb,
lib/audit_loggable/logger.rb,
lib/audit_loggable/sweeper.rb,
lib/audit_loggable/version.rb,
lib/audit_loggable/extension.rb,
lib/audit_loggable/change_set.rb,
lib/audit_loggable/audit_record.rb,
lib/audit_loggable/configuration.rb,
lib/audit_loggable/audit_record_set.rb

Defined Under Namespace

Modules: ChangeSet, Extension Classes: AuditRecord, AuditRecordSet, Configuration, Logger, Store, Sweeper

Constant Summary collapse

VERSION =
"1.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject (readonly)

Returns the value of attribute logger.



21
22
23
# File 'lib/audit_loggable.rb', line 21

def logger
  @logger
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:

  • (configuration)


27
28
29
30
31
32
# File 'lib/audit_loggable.rb', line 27

def configure
  yield configuration
  initialize_logger

  self
end