Class: Recommendable::Workers::Sidekiq

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/recommendable/workers/sidekiq.rb

Instance Method Summary collapse

Instance Method Details

#perform(user_id) ⇒ Object



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

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