Module: Auditing

Defined in:
lib/auditing.rb,
lib/auditing/base.rb,
lib/auditing/auditor.rb,
lib/auditing/version.rb,
lib/auditing/audit_relationship.rb,
lib/generators/auditing/install_generator.rb,
lib/generators/auditing/upgrade_generator.rb

Defined Under Namespace

Modules: AuditRelationship, Auditor, Base, Generators

Constant Summary collapse

VERSION =
"1.4.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.report_methodObject

Returns the value of attribute report_method.



4
5
6
# File 'lib/auditing.rb', line 4

def report_method
  @report_method
end

.report_onObject

Returns the value of attribute report_on.



4
5
6
# File 'lib/auditing.rb', line 4

def report_on
  @report_on
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Auditing)

    the object that the method was called on



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

def configure
  yield self
  true
end