Class: Timelines::AuditTrail
- Inherits:
-
Object
- Object
- Timelines::AuditTrail
- Includes:
- ActiveModel::Attributes, ActiveModel::Model, ActiveModel::Validations
- Defined in:
- lib/timelines/models/concerns/audit_trail.rb
Instance Method Summary collapse
Instance Method Details
#events ⇒ Object
11 12 13 |
# File 'lib/timelines/models/concerns/audit_trail.rb', line 11 def events reverse ? resource.events.reverse : resource.events end |