Sha256: a394c49d80b1de53e21d7c15ca7dad1eb132810c3962b872f56cb0b2572b2e5c
Contents?: true
Size: 436 Bytes
Versions: 10
Compression:
Stored size: 436 Bytes
Contents
module Recommendable module Workers class TorqueBox if defined?(::TorqueBox::Messaging::Backgroundable) include ::TorqueBox::Messaging::Backgroundable always_background :enqueue end def self.enqueue(user_id) Recommendable::Helpers::Calculations.update_similarities_for(user_id) Recommendable::Helpers::Calculations.update_recommendations_for(user_id) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems