1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Google::Cloud::Storage.new takes keyword arguments

This commit is contained in:
Ryuta Kamizono 2019-12-29 03:03:51 +09:00
parent 6cbd81c383
commit 797ae91543

View file

@ -137,7 +137,7 @@ module ActiveStorage
end
def client
@client ||= Google::Cloud::Storage.new(config.except(:bucket))
@client ||= Google::Cloud::Storage.new(**config.except(:bucket))
end
end
end