Sha256: c636f9c74f4a4b58012f30282f790327e73efe250de7869eb7fed36642273e8f
Contents?: true
Size: 667 Bytes
Versions: 7
Compression:
Stored size: 667 Bytes
Contents
module Fog module Compute class Voxel class Real require 'fog/compute/parsers/voxel/images_list' def images_list(image_id = nil) options = { :parser => Fog::Parsers::Compute::Voxel::ImagesList.new, :verbosity => 'compact' } unless image_id.nil? options[:verbosity] = 'extended' options[:image_id] = image_id end data = request("voxel.images.list", options) if data.body['stat'] == "ok" data else raise Fog::Compute::Voxel::NotFound end end end end end end
Version data entries
7 entries across 7 versions & 3 rubygems