Class: Recommendable::Workers::Resque

Inherits:
Object
  • Object
show all
Includes:
Resque::Plugins::UniqueJob
Defined in:
lib/recommendable/workers/resque.rb

Class Method Summary collapse

Class Method Details

.perform(user_id) ⇒ Object



7
8
9
10
# File 'lib/recommendable/workers/resque.rb', line 7

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