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

fix new method to accept params

This commit is contained in:
Wesley Beary 2009-10-15 15:38:33 -07:00
parent 98f241b12e
commit 8960124ce4

View file

@ -34,11 +34,11 @@ module Fog
nil
end
def new
Fog::Rackspace::Servers::Server.new(
def new(attributes = {})
Fog::Rackspace::Servers::Server.new({
:connection => connection,
:servers => self
)
}.merge!(attributes))
end
def reload