From 5ac120d1c98d1cf8b64732fd4daa4f61be9cd02d Mon Sep 17 00:00:00 2001 From: prog-supdex Date: Thu, 28 Sep 2023 16:12:02 +0200 Subject: [PATCH] rename variable --- lib/graphql-anycable.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/graphql-anycable.rb b/lib/graphql-anycable.rb index 10f9051..18bbb5b 100644 --- a/lib/graphql-anycable.rb +++ b/lib/graphql-anycable.rb @@ -27,10 +27,10 @@ def self.stats(**options) end def self.delivery_method=(args) - delivery_method, options = Array(args) + method_name, options = Array(args) options ||= {} - config.delivery_method = delivery_method + config.delivery_method = method_name config.queue = options[:queue] if options[:queue] config.job_class = options[:job_class] if options[:job_class] end