Class: RulesEngine::Process::ReProcessAudit

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/rules_engine/process/auditor/db_auditor.rb

Class Method Summary collapse

Class Method Details

.history(process_id, options = {}) ⇒ Object



10
11
12
13
14
15
# File 'lib/rules_engine/process/auditor/db_auditor.rb', line 10

def self.history(process_id, options = {})
  klass = self
  klass = klass.by_process_id(process_id)
  klass = klass.order_created_at('ASC')
  klass.find(:all)
end