Module: Transcript::Controller

Extended by:
ActiveSupport::Concern
Defined in:
lib/transcript/controller.rb

Instance Method Summary collapse

Instance Method Details

#audit_action(actor, receiver, action = action_name, meta = nil) ⇒ Object



7
8
9
10
11
12
# File 'lib/transcript/controller.rb', line 7

def audit_action(actor, receiver, action = action_name, meta = nil)
  Transcript::Job.send(
    Transcript.configuration.job_method,
    actor, receiver, action, meta
  )
end