lib/providers/hpcloud/compute.rb in lorj-0.1.0 vs lib/providers/hpcloud/compute.rb in lorj-0.2.0
- old
+ new
@@ -103,6 +103,11 @@
oAddress.reload
# This function needs to returns a list of object.
# This list must support the each function.
oAddress
end
+
+ def HPCompute.delete_server(oComputeConnect, oServer)
+ oComputeConnect.servers.get(oServer.id).destroy
+ end
+
end