Sha256: 82900b033956cf8dae04e442d683f989681241f539260106eb5dfdb6bbb91e8d

Contents?: true

Size: 475 Bytes

Versions: 21

Compression:

Stored size: 475 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_target_instance(_target_name, _zone)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def delete_target_instance(target_name, zone)
          zone = zone.split("/")[-1] if zone.start_with? "http"
          @compute.delete_target_instance(@project, zone, target_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/delete_target_instance.rb