Fix warnings for ruby 2.7

This commit is contained in:
Douglas Lise 2020-06-30 13:57:27 -03:00
parent 29f3709846
commit 340489c4cc

View File

@ -49,10 +49,10 @@ module IdempotentRequest
response: Array(response))
end
def run_callback(action, args)
def run_callback(action, **args)
return unless @callback
@callback.new(request).send(action, args)
@callback.new(request).send(action, **args)
end
def key