Module: ActsAsAuditable::InstanceMethods

Defined in:
lib/appstats/acts_as_auditable.rb

Instance Method Summary collapse

Instance Method Details

#audit_createObject



30
31
32
# File 'lib/appstats/acts_as_auditable.rb', line 30

def audit_create
  Appstats::Audit.audit_create(self,self.class.auditable_options)
end

#audit_destroyObject



34
35
36
# File 'lib/appstats/acts_as_auditable.rb', line 34

def audit_destroy
  Appstats::Audit.audit_destroy(self,self.class.auditable_options)
end

#audit_updateObject



38
39
40
# File 'lib/appstats/acts_as_auditable.rb', line 38

def audit_update
  Appstats::Audit.audit_update(self,self.class.auditable_options)
end