aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/queue_adapters
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2014-05-19 13:44:07 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2014-05-19 13:44:07 +0200
commite2405662f6fdb7ba3534c84b19cde01e598551de (patch)
tree9a1c67603471913dfe863f115f0c5218866cf9c7 /lib/active_job/queue_adapters
parenta9dc36c8539c1ac9a5024d4b51369938893d581a (diff)
downloadrails-e2405662f6fdb7ba3534c84b19cde01e598551de.tar.gz
rails-e2405662f6fdb7ba3534c84b19cde01e598551de.tar.bz2
rails-e2405662f6fdb7ba3534c84b19cde01e598551de.zip
Styling
Diffstat (limited to 'lib/active_job/queue_adapters')
-rw-r--r--lib/active_job/queue_adapters/sidekiq_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/queue_adapters/sidekiq_adapter.rb b/lib/active_job/queue_adapters/sidekiq_adapter.rb
index e712762785..c8fac32963 100644
--- a/lib/active_job/queue_adapters/sidekiq_adapter.rb
+++ b/lib/active_job/queue_adapters/sidekiq_adapter.rb
@@ -5,7 +5,7 @@ module ActiveJob
class SidekiqAdapter
class << self
def queue(job, *args)
- JobWrapper.client_push('class' => JobWrapper, 'queue' => job.queue_name, 'args' => [job, *args])
+ JobWrapper.client_push class: JobWrapper, queue: job.queue_name, args: [ job, *args ]
end
end