lib/tennis/worker/deferable/action.rb in tennis-jobs-0.2.0 vs lib/tennis/worker/deferable/action.rb in tennis-jobs-0.3.0

- old
+ new

@@ -8,10 +8,10 @@ private def _create_methods! _methods.each do |method| self.define_singleton_method(method) do |*arguments| - @worker_class.execute([@receiver, method, arguments]) + @worker_class.send_work([@receiver, method, arguments]) end end end def _methods