Class: Recommendable::Workers::TorqueBox

Inherits:
Object
  • Object
show all
Includes:
TorqueBox::Messaging::Backgroundable
Defined in:
lib/recommendable/workers/torque_box.rb

Class Method Summary collapse

Class Method Details

.enqueue(user_id) ⇒ Object



9
10
11
12
# File 'lib/recommendable/workers/torque_box.rb', line 9

def self.enqueue(user_id)
  Recommendable::Helpers::Calculations.update_similarities_for(user_id)
  Recommendable::Helpers::Calculations.update_recommendations_for(user_id)
end