hummingbird-me/kitsu-server

View on GitHub
app/workers/zorro/follow_import_worker.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
71%
module Zorro
  class FollowImportWorker
    include Sidekiq::Worker
    sidekiq_options queue: 'soon'

    def perform(user_id)
      user = User.find(user_id)
      Zorro::Importer::FollowImporter.run_for(user)
    end
  end
end