Class: Transcript::Job
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Transcript::Job
- Defined in:
- lib/transcript/job.rb
Instance Method Summary collapse
Instance Method Details
#perform(actor, receiver, action, meta) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/transcript/job.rb', line 7 def perform(actor, receiver, action, ) Transcript.configuration.audit_model.create( actor: actor, action: action, receiver: receiver, meta: , receiver_serialized: receiver, ) end |