1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[stormondemand|compute] Fix the get parameters

This commit is contained in:
Eric Wong 2013-05-21 18:12:16 +08:00
parent e16482b7d1
commit 9b6d00f14c

View file

@ -14,9 +14,8 @@ module Fog
true
end
def get
requires :identity
img = service.get_image_details(:id => identity).body
def get(image_id)
img = service.get_image_details(:id => image_id).body
new(img)
end