19 20 21 22 23
# File 'lib/fog/image/openstack/v2/models/images.rb', line 19 def find_by_id(id) new(service.get_image_by_id(id).body) rescue Fog::Image::OpenStack::NotFound nil end