lib/fog/opennebula/models/compute/servers.rb in fog-1.29.0 vs lib/fog/opennebula/models/compute/servers.rb in fog-1.30.0

- old
+ new

@@ -17,9 +17,13 @@ def get(id) data = service.list_vms({:id => id}) new data.first unless data.empty? end + def shutdown(id) + service.vm_shutdown(id) + end + end end end end