Sha256: a291c3b7e0ff586a5a274b8ae1e571c6b3f639baee4a09b0f7fa188e7e32d9b2

Contents?: true

Size: 423 Bytes

Versions: 20

Compression:

Stored size: 423 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_target_instance(_target_name, _zone)
          Fog::Mock.not_implemented
        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

20 entries across 20 versions & 1 rubygems

Version Path
fog-google-1.9.1 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.9.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.8.2 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.8.1 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.8.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.7.1 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.7.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.6.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.5.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.4.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.3.3 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.3.2 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.3.1 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.3.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.2.2 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.2.1 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.2.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.1.0 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.0.1 lib/fog/compute/google/requests/delete_target_instance.rb
fog-google-1.0.0 lib/fog/compute/google/requests/delete_target_instance.rb