assemblymade/coderwall

View on GitHub
app/jobs/build_activity_stream_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
class BuildActivityStreamJob
  include Sidekiq::Worker

  sidekiq_options queue: :timeline

  def perform(username)
    user = User.find_by_username(username)
    user.build_repo_followed_activity!
  end
end