1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

Use 1.8 hash syntax

This commit is contained in:
Michael Hale 2015-07-01 11:16:30 -04:00
parent 64234692e4
commit d3a7e410fb

View file

@ -71,7 +71,7 @@ module Fog
}
headers['x-amz-security-token'] = @aws_session_token if @aws_session_token
body = MultiJson.dump(params[:body])
headers['Authorization'] = @signer.sign({method: "POST", headers: headers, body: body, query: {}, path: @path}, date)
headers['Authorization'] = @signer.sign({:method => "POST", :headers => headers, :body => body, :query => {}, :path => @path}, date)
if @instrumentor
@instrumentor.instrument("#{@instrumentor_name}.request", params) do