mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Allow creation with objects.
Fog::Compute[:serverlove].servers.create(params)
This commit is contained in:
parent
700a33069a
commit
293078cacc
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module Fog
|
|||
else
|
||||
requires :name
|
||||
requires :cpu
|
||||
attributes = service.create_server(self.defaults.merge(allowed_attributes)).body
|
||||
attributes = service.create_server(Server.defaults.merge(allowed_attributes)).body
|
||||
end
|
||||
|
||||
merge_attributes(attributes)
|
||||
|
|
Loading…
Reference in a new issue