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

Strip new lines from PackedPolicySize response from GetFederationToken

This commit is contained in:
gregburek 2013-09-04 18:04:39 -07:00
parent 9106068c05
commit 98a72c018b

View file

@ -14,10 +14,8 @@ module Fog
case name
when 'SessionToken', 'SecretAccessKey', 'Expiration', 'AccessKeyId'
@response[name] = @value.strip
when 'Arn', 'FederatedUserId'
when 'Arn', 'FederatedUserId', 'PackedPolicySize'
@response[name] = @value.strip
when 'PackedPolicySize'
@response[name] = @value
when 'RequestId'
@response[name] = @value
end