Module: Audited

Defined in:
lib/audited.rb,
lib/audited/audit.rb,
lib/audited/auditor.rb,
lib/audited/sweeper.rb,
lib/notifiably_audited.rb,
lib/audited/rspec_matchers.rb

Defined Under Namespace

Modules: Audit, Auditor, RspecMatchers Classes: Sweeper

Constant Summary collapse

VERSION =
'3.0.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.audit_classObject

Returns the value of attribute audit_class.



5
6
7
# File 'lib/audited.rb', line 5

def audit_class
  @audit_class
end

.current_user_methodObject

Returns the value of attribute current_user_method.



5
6
7
# File 'lib/audited.rb', line 5

def current_user_method
  @current_user_method
end

.ignored_attributesObject

Returns the value of attribute ignored_attributes.



5
6
7
# File 'lib/audited.rb', line 5

def ignored_attributes
  @ignored_attributes
end

Class Method Details

.storeObject



7
8
9
# File 'lib/audited.rb', line 7

def store
  Thread.current[:audited_store] ||= {}
end