Module: Audited
- Defined in:
- lib/audited.rb,
lib/audited/audit.rb,
lib/audited/auditor.rb,
lib/audited/sweeper.rb,
lib/audited/version.rb,
lib/audited/rspec_matchers.rb
Defined Under Namespace
Modules: Auditor, RspecMatchers Classes: Audit, Sweeper
Constant Summary collapse
- VERSION =
"4.3.1"
Class Attribute Summary collapse
-
.current_user_method ⇒ Object
Returns the value of attribute current_user_method.
-
.ignored_attributes ⇒ Object
Returns the value of attribute ignored_attributes.
Class Method Summary collapse
-
.audit_class ⇒ Object
Deprecate audit_class accessors in preperation of their removal.
- .store ⇒ Object
Class Attribute Details
.current_user_method ⇒ Object
Returns the value of attribute current_user_method.
6 7 8 |
# File 'lib/audited.rb', line 6 def current_user_method @current_user_method end |
.ignored_attributes ⇒ Object
Returns the value of attribute ignored_attributes.
6 7 8 |
# File 'lib/audited.rb', line 6 def ignored_attributes @ignored_attributes end |
Class Method Details
.audit_class ⇒ Object
Deprecate audit_class accessors in preperation of their removal
9 10 11 |
# File 'lib/audited.rb', line 9 def audit_class Audited::Audit end |
.store ⇒ Object
14 15 16 |
# File 'lib/audited.rb', line 14 def store Thread.current[:audited_store] ||= {} end |