lib/cloudtasker/worker_wrapper.rb in cloudtasker-0.12.2 vs lib/cloudtasker/worker_wrapper.rb in cloudtasker-0.13.rc1
- old
+ new
@@ -25,10 +25,10 @@
# @param [String] worker_class The name of the worker class.
# @param [Hash] **opts The worker arguments.
#
def initialize(worker_name:, **opts)
@worker_name = worker_name
- super(opts)
+ super(**opts)
end
#
# Override parent. Return the underlying worker class name.
#