Sha256: 5cad8146d438fb888f3e5e56712ef3fb26d44dcec66c568ae61120788924f9f4
Contents?: true
Size: 733 Bytes
Versions: 13
Compression:
Stored size: 733 Bytes
Contents
module Fog module Compute class Google class Mock def insert_image(image_name) Fog::Mock.not_implemented end end class Real def insert_image(image_name, source) api_method = @compute.images.insert parameters = { 'project' => @project, } body_object = { "name" => image_name, "sourceType" => "RAW", "source" => source, "preferredKernel" => '', } result = self.build_result( api_method, parameters, body_object=body_object) response = self.build_response(result) end end end end end
Version data entries
13 entries across 13 versions & 3 rubygems