lib/fog/openstack/models/image/images.rb in fog-1.25.0 vs lib/fog/openstack/models/image/images.rb in fog-1.26.0
- old
+ new
@@ -9,11 +9,11 @@
def all
load(service.list_public_images_detailed.body['images'])
end
- def details
- load(service.list_public_images_detailed.body['images'])
+ def details(attribute=nil, query=nil)
+ load(service.list_public_images_detailed(attribute, query).body['images'])
end
def find_by_id(id)
all.find {|image| image.id == id}
end