Class: ActionTracker::Workers::Custom
- Inherits:
-
Object
- Object
- ActionTracker::Workers::Custom
- Defined in:
- lib/action_tracker/workers/custom.rb
Instance Attribute Summary collapse
-
#form ⇒ Object
readonly
Returns the value of attribute form.
Instance Method Summary collapse
-
#initialize(form) ⇒ Custom
constructor
A new instance of Custom.
- #perform ⇒ Object
Constructor Details
#initialize(form) ⇒ Custom
Returns a new instance of Custom.
8 9 10 |
# File 'lib/action_tracker/workers/custom.rb', line 8 def initialize(form) @form = form end |
Instance Attribute Details
#form ⇒ Object (readonly)
Returns the value of attribute form.
6 7 8 |
# File 'lib/action_tracker/workers/custom.rb', line 6 def form @form end |
Instance Method Details
#perform ⇒ Object
12 13 14 |
# File 'lib/action_tracker/workers/custom.rb', line 12 def perform custom_worker_proc.call(form) end |