Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fog-google / lib / fog / compute / google / requests / insert_image.rb
Size: Mime:
module Fog
  module Compute
    class Google
      class Mock
        def insert_image(_image_name, _image = {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def insert_image(image_name, image = {}, project = @project)
          image = image.merge(:name => image_name)
          @compute.insert_image(
            project,
            ::Google::Apis::ComputeV1::Image.new(image)
          )
        end
      end
    end
  end
end