Class: ActiveTouch::TouchJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/active_touch/touch_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(record, association, options = {}) ⇒ Object



4
5
6
# File 'lib/active_touch/touch_job.rb', line 4

def perform(record, association, options = {})
  Touch.new(record, association, options).run
end