add github_user_importer_worker
This commit is contained in:
parent
f2396126e3
commit
387c869c6e
1 changed files with 10 additions and 0 deletions
10
app/workers/github_user_importer_worker.rb
Normal file
10
app/workers/github_user_importer_worker.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
require '/data_importer/lib/importers/github_user_importer.rb'
|
||||
|
||||
class GithubUserImporterWorker
|
||||
include Faktory::Job
|
||||
|
||||
def perform(*args)
|
||||
puts "Hello, I am #{jid} with args #{args}"
|
||||
GithubUserImporter.new.import
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue