about summary refs log tree commit diff
path: root/app/workers/bootstrap_timeline_worker.rb
diff options
context:
space:
mode:
authorSurinna Curtis <ekiru.0@gmail.com>2017-09-10 14:10:30 -0500
committerGitHub <noreply@github.com>2017-09-10 14:10:30 -0500
commit7a9c7d4e0b694e716cb018e3057792b4d86026fa (patch)
tree973b16e23a7cbeaf5a43550444e54aa1ace50a46 /app/workers/bootstrap_timeline_worker.rb
parentc9df53044a333276853f7dc7ef2aed6d48df087f (diff)
parent932571fa22273e6ff5c229147668c426b4d65326 (diff)
Merge pull request #143 from yipdw/sync/upstream
Merge with upstream's 1.6.0
Diffstat (limited to 'app/workers/bootstrap_timeline_worker.rb')
-rw-r--r--app/workers/bootstrap_timeline_worker.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/workers/bootstrap_timeline_worker.rb b/app/workers/bootstrap_timeline_worker.rb
new file mode 100644
index 000000000..89cfb4c3a
--- /dev/null
+++ b/app/workers/bootstrap_timeline_worker.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class BootstrapTimelineWorker
+  include Sidekiq::Worker
+
+  def perform(account_id)
+    BootstrapTimelineService.new.call(Account.find(account_id))
+  end
+end