Sha256: c7aa07a109130a737ee01095e2454e070104bbb065abfc526a25418eb6733be1

Contents?: true

Size: 435 Bytes

Versions: 21

Compression:

Stored size: 435 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def get_image(_image_name, _project = @project)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def get_image(image_name, project = @project)
          project = @project if project.nil?
          @compute.get_image(project, image_name)
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fog-google-1.10.0 lib/fog/compute/google/requests/get_image.rb