Module: Relational::Audit

Defined in:
lib/relational/audit.rb,
lib/relational/audit/version.rb,
lib/relational/controller_methods.rb

Defined Under Namespace

Modules: ClassMethod, ControllerMethods, Event, InstanceMethod

Constant Summary collapse

VERSION =
"1.0.3"
@@audit_changes_by =
nil
@@audit_transaction_id =
nil

Class Method Summary collapse

Class Method Details

.audit_changes_byObject



14
15
16
# File 'lib/relational/audit.rb', line 14

def self.audit_changes_by
  @@audit_changes_by
end

.audit_changes_by=(user) ⇒ Object



10
11
12
# File 'lib/relational/audit.rb', line 10

def self.audit_changes_by=(user)
  @@audit_changes_by = user
end

.audit_transaction_idObject



24
25
26
# File 'lib/relational/audit.rb', line 24

def self.audit_transaction_id
  @@audit_transaction_id
end

.audit_transaction_id=(user) ⇒ Object



20
21
22
# File 'lib/relational/audit.rb', line 20

def self.audit_transaction_id=(user)
  @@audit_transaction_id = user
end