Sha256: 238974c960826fc095ee50f1c32bd56fb5e2814bad2068082c1a46d62aa590c3

Contents?: true

Size: 353 Bytes

Versions: 7

Compression:

Stored size: 353 Bytes

Contents

module Recommendable
  module Workers
    class Rails
      attr_accessor :user_id

      def initialize(user_id)
        @user_id = user_id
      end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
recommendable-2.0.4.20130313 lib/recommendable/workers/rails.rb
recommendable-2.0.4 lib/recommendable/workers/rails.rb
recommendable-2.0.3 lib/recommendable/workers/rails.rb
recommendable-2.0.2 lib/recommendable/workers/rails.rb
recommendable-2.0.1 lib/recommendable/workers/rails.rb
recommendable-2.0.0.20121011 lib/recommendable/workers/rails.rb
recommendable-2.0.0 lib/recommendable/workers/rails.rb