Sha256: a2716f38e7c067b9ea12aaae57c4c88c9e2b649ab3aa3c9f58c5c23ab96721e0

Contents?: true

Size: 524 Bytes

Versions: 14

Compression:

Stored size: 524 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def delete_instance_group(_group_name, _zone)
          Fog::Mock.not_implemented
        end
      end

      class Real
        def delete_instance_group(group_name, zone)
          api_method = @compute.instance_groups.delete
          parameters = {
            "instanceGroup" => group_name,
            "project" => @project,
            "zone" => zone
          }

          request(api_method, parameters)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.5.5 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.5.4 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.5.3 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.5.2 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.5.1 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.5.0 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.4.2 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.4.1 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.4.0 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.3.2 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.3.1 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.3.0 lib/fog/compute/google/requests/delete_instance_group.rb
fog-google-0.2.0 lib/fog/compute/google/requests/delete_instance_group.rb