[compute] fix top level initializer errors

This commit is contained in:
geemus 2010-11-04 13:51:21 -07:00
parent 6c664877c0
commit 2faeb37b00
1 changed files with 1 additions and 1 deletions

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)