mirror of
https://github.com/ditkrg/idempotent-request.git
synced 2026-01-22 22:06:44 +00:00
Fix warnings for ruby 2.7
This commit is contained in:
parent
29f3709846
commit
340489c4cc
@ -49,10 +49,10 @@ module IdempotentRequest
|
|||||||
response: Array(response))
|
response: Array(response))
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_callback(action, args)
|
def run_callback(action, **args)
|
||||||
return unless @callback
|
return unless @callback
|
||||||
|
|
||||||
@callback.new(request).send(action, args)
|
@callback.new(request).send(action, **args)
|
||||||
end
|
end
|
||||||
|
|
||||||
def key
|
def key
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user