Class: ActiveAudit::StorageAdapters::TestAdapter
- Inherits:
-
Object
- Object
- ActiveAudit::StorageAdapters::TestAdapter
- Defined in:
- lib/active_audit/storage_adapters/test_adapter.rb
Class Method Summary collapse
Class Method Details
.find_by_record(record, options = {}) ⇒ Object
6 7 8 |
# File 'lib/active_audit/storage_adapters/test_adapter.rb', line 6 def find_by_record record, ={} raise NotImplementedError.new "can not retrieve audits with `TestAdapter`." end |
.save(audit) ⇒ Object
10 11 12 |
# File 'lib/active_audit/storage_adapters/test_adapter.rb', line 10 def save audit Rails.logger.info "audit -> #{audit.attributes}" end |