Class: Audit

Inherits:
ApplicationRecord show all
Defined in:
app/models/audit.rb

Instance Method Summary collapse

Instance Method Details

#failed_eventsObject


11
12
13
# File 'app/models/audit.rb', line 11

def failed_events
  events.failed
end

#successful_eventsObject


7
8
9
# File 'app/models/audit.rb', line 7

def successful_events
  events.successful
end