Class: RailsAuditLog::Streaming::PublishEntryJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- RailsAuditLog::Streaming::PublishEntryJob
- Defined in:
- app/jobs/rails_audit_log/streaming/publish_entry_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(entry_attrs) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/jobs/rails_audit_log/streaming/publish_entry_job.rb', line 4 def perform(entry_attrs) entry = AuditLogEntry.new(entry_attrs) ActiveSupport::Notifications.instrument( NotificationsAdapter::EVENT, entry: entry ) end |