1
0
Fork 0
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:
Sean Handley 2013-06-07 14:43:49 +01:00
parent 700a33069a
commit 293078cacc

View file

@ -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)