Module: ActionAudit::ResqueConcern::ClassMethods
- Defined in:
- lib/action_audit/resque_concern.rb
Instance Method Summary collapse
Instance Method Details
#around_perform_auditor(*args) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/action_audit/resque_concern.rb', line 5 def around_perform_auditor(*args) logger_info "audit job with args #{args}" Auditor.start Auditor.add_params(args: args, job_name: self.name) yield ensure Auditor.flush end |