Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
prog-supdex committed Sep 28, 2023
1 parent 7474ed2 commit 5ac120d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/graphql-anycable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ac120d

Please sign in to comment.