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:
parent
98f241b12e
commit
8960124ce4
1 changed files with 3 additions and 3 deletions
|
@ -34,11 +34,11 @@ module Fog
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def new
|
def new(attributes = {})
|
||||||
Fog::Rackspace::Servers::Server.new(
|
Fog::Rackspace::Servers::Server.new({
|
||||||
:connection => connection,
|
:connection => connection,
|
||||||
:servers => self
|
:servers => self
|
||||||
)
|
}.merge!(attributes))
|
||||||
end
|
end
|
||||||
|
|
||||||
def reload
|
def reload
|
||||||
|
|
Loading…
Add table
Reference in a new issue