Module: RecordAuditor::Auditor::LocalInstanceMethods

Defined in:
lib/record_auditor/auditor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action.



46
47
48
# File 'lib/record_auditor/auditor.rb', line 46

def action
  @action
end

#audited_changes_attrsObject

Returns the value of attribute audited_changes_attrs.



46
47
48
# File 'lib/record_auditor/auditor.rb', line 46

def audited_changes_attrs
  @audited_changes_attrs
end

Instance Method Details

#audited_attributesObject



48
49
50
# File 'lib/record_auditor/auditor.rb', line 48

def audited_attributes
  attributes.except(*non_audited_columns)
end