class ActionTracker::Workers::Custom

Attributes

form[R]

Public Class Methods

new(form) click to toggle source
# File lib/action_tracker/workers/custom.rb, line 8
def initialize(form)
  @form = form
end

Public Instance Methods

perform() click to toggle source
# File lib/action_tracker/workers/custom.rb, line 12
def perform
  custom_worker_proc.call(form)
end

Private Instance Methods

custom_worker_proc() click to toggle source
# File lib/action_tracker/workers/custom.rb, line 18
def custom_worker_proc
  ActionTracker.config.custom_worker_proc
end