Sha256: 04b03f1d791209e5881de4c130b4392b6c98c06633e8eecda546e3e1a980afbd
Contents?: true
Size: 344 Bytes
Versions: 3
Compression:
Stored size: 344 Bytes
Contents
module Recommendable if defined?(Sidekiq) class SidekiqWorker include ::Sidekiq::Worker sidekiq_options :queue => :recommendable def perform(user_id) user = Recommendable.user_class.find(user_id) user.send :update_similarities user.send :update_recommendations end end end end
Version data entries
3 entries across 3 versions & 1 rubygems