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

[compute] fix top level initializer errors

This commit is contained in:
geemus 2010-11-04 13:51:21 -07:00
parent 6c664877c0
commit 2faeb37b00

View file

@ -2,7 +2,7 @@ module Fog
class Storage
def self.new(attributes)
case attributes.delete(:provider)
case provider = attributes.delete(:provider)
when 'AWS'
require 'fog/aws'
Fog::AWS::Compute.new(attributes)