Fix coding style for a hash
This commit is contained in:
parent
d0a28c7111
commit
0ec76c8140
@ -72,8 +72,10 @@ module RemoteStorage
|
|||||||
url = File.join("/", url.gsub(base_url, ""))
|
url = File.join("/", url.gsub(base_url, ""))
|
||||||
date = Time.now.httpdate
|
date = Time.now.httpdate
|
||||||
signed_data = generate_s3_signature(http_verb, md5, content_type, date, url)
|
signed_data = generate_s3_signature(http_verb, md5, content_type, date, url)
|
||||||
{ "Authorization" => "AWS #{credentials[:access_key_id]}:#{signed_data}",
|
{
|
||||||
"Date" => date}
|
"Authorization" => "AWS #{credentials[:access_key_id]}:#{signed_data}",
|
||||||
|
"Date" => date
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def credentials
|
def credentials
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user