class ActionTracker::Workers::Test

Attributes

form[R]

Public Class Methods

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

Public Instance Methods

perform() click to toggle source
# File lib/action_tracker/workers/test.rb, line 12
def perform
  ActionTracker.records.append(params)

  params
end

Private Instance Methods

params() click to toggle source
# File lib/action_tracker/workers/test.rb, line 20
def params
  form.present_attributes
end