mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace|databases] Register Rackspace Cloud Databases service with Fog.
This commit is contained in:
parent
a36a6c9239
commit
906c74cd83
2 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,8 @@ class Rackspace < Fog::Bin
|
|||
Fog::DNS::Rackspace
|
||||
when :identity
|
||||
Fog::Rackspace::Identity
|
||||
when :databases
|
||||
Fog::Rackspace::Databases
|
||||
else
|
||||
raise ArgumentError, "Unrecognized service: #{key}"
|
||||
end
|
||||
|
|
|
@ -48,6 +48,7 @@ module Fog
|
|||
service(:storage, 'rackspace/storage', 'Storage')
|
||||
service(:load_balancers, 'rackspace/load_balancers', 'LoadBalancers')
|
||||
service(:identity, 'rackspace/identity', 'Identity')
|
||||
service(:databases, 'rackspace/databases', 'Databases')
|
||||
|
||||
def self.authenticate(options, connection_options = {})
|
||||
rackspace_auth_url = options[:rackspace_auth_url] || "auth.api.rackspacecloud.com"
|
||||
|
|
Loading…
Add table
Reference in a new issue