Sha256: bf4f811e091e1c9f36a9722b781cbc006fd1d7a9f243305e3fb7e25cb551629b
Contents?: true
Size: 939 Bytes
Versions: 44
Compression:
Stored size: 939 Bytes
Contents
module Fog module GoGrid class Compute class Real # List images # # ==== Parameters # * options<~Hash>: # * 'id'<~String> - ID of the image # * 'name'<~String> - Name of the image # * 'image'<~String> - ID(s) or Name(s) of the images to retrive. Can be speicifed multiple times # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # TODO: docs def grid_image_get(options={}) request( :path => 'grid/image/get', :query => options ) end end class Mock def grid_image_get(options={}) #response = Excon::Response.new #images = @data[:list].values #for image in images # case image['state'] # when 'Available' end end end end end
Version data entries
44 entries across 44 versions & 3 rubygems