mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Ruby187 hash syntax
This commit is contained in:
parent
d7bbe4265d
commit
0e2b748449
1 changed files with 4 additions and 4 deletions
|
@ -34,11 +34,11 @@ module Fog
|
|||
sig = sig_to_hex(hmac.sign(string_to_sign))
|
||||
|
||||
temp_url_query = {
|
||||
temp_url_sig: sig,
|
||||
temp_url_expires: expires
|
||||
:temp_url_sig => sig,
|
||||
:temp_url_expires => expires
|
||||
}
|
||||
temp_url_query.merge!(inline: true) if options[:inline]
|
||||
temp_url_query.merge!(filename: options[:filename]) if options[:filename]
|
||||
temp_url_query.merge!(:inline => true) if options[:inline]
|
||||
temp_url_query.merge!(:filename => options[:filename]) if options[:filename]
|
||||
temp_url_options = {
|
||||
:scheme => options[:scheme] || @uri.scheme,
|
||||
:host => @uri.host,
|
||||
|
|
Loading…
Reference in a new issue