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

Store the region for S3.

This commit is contained in:
Ben Butler-Cole 2012-03-28 16:05:24 +01:00
parent 09d52dac8d
commit 091fb99205

View file

@ -255,6 +255,7 @@ module Fog
@scheme = endpoint.scheme
else
options[:region] ||= 'us-east-1'
@region = options[:region]
@host = options[:host] || case options[:region]
when 'us-east-1'
's3.amazonaws.com'