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

[openstack|storage] added OpenStack Storage to lib/fog/storage.rb

This commit is contained in:
Sergio Rubio 2013-01-23 20:31:04 +01:00
parent 9ace35ce5f
commit 2deb89e017

View file

@ -32,6 +32,9 @@ module Fog
when :rackspace when :rackspace
require 'fog/rackspace/storage' require 'fog/rackspace/storage'
Fog::Storage::Rackspace.new(attributes) Fog::Storage::Rackspace.new(attributes)
when :openstack
require 'fog/openstack/storage'
Fog::Storage::OpenStack.new(attributes)
else else
raise ArgumentError.new("#{provider} is not a recognized storage provider") raise ArgumentError.new("#{provider} is not a recognized storage provider")
end end