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:
parent
6cbd81c383
commit
797ae91543
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue