lib/providers/hpcloud/compute.rb in lorj-1.0.2 vs lib/providers/hpcloud/compute.rb in lorj-1.0.3
- old
+ new
@@ -96,6 +96,10 @@
end
def self.delete_server(oComputeConnect, server)
oComputeConnect.servers.get(server.id).destroy
end
+
+ def self.get_image(oComputeConnect, oImageID)
+ oComputeConnect.images.get(oImageID)
+ end
end