Fixed mention of EC2 in Rackspace.authenticate.

This commit is contained in:
Joshua Nichols 2010-01-25 08:41:39 +08:00 коммит произвёл Wesley Beary
Родитель 1b161f4841
Коммит ff10a25920
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -10,10 +10,10 @@ module Fog
def self.authenticate(options)
unless @rackspace_api_key = options[:rackspace_api_key]
raise ArgumentError.new('rackspace_api_key is required to access ec2')
raise ArgumentError.new('rackspace_api_key is required to access rackspace')
end
unless @rackspace_username = options[:rackspace_username]
raise ArgumentError.new('rackspace_username is required to access ec2')
raise ArgumentError.new('rackspace_username is required to access rackspace')
end
connection = Fog::Connection.new("https://auth.api.rackspacecloud.com")
response = connection.request({