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

save the region in a instance variable

This commit is contained in:
Daniel Schweighoefer 2011-12-19 17:43:50 +01:00
parent beb91525c0
commit ec485d315b

View file

@ -91,6 +91,7 @@ module Fog
@port = options[:port] || 443 @port = options[:port] || 443
@scheme = options[:scheme] || 'https' @scheme = options[:scheme] || 'https'
@connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", @persistent, @connection_options) @connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}#{@path}", @persistent, @connection_options)
@region = options[:region]
end end
def reload def reload