Sha256: 4c38ff139252d7d9e7bfa4bf3b316573d5fc01607051d4e88cac612960b77ae8

Contents?: true

Size: 572 Bytes

Versions: 13

Compression:

Stored size: 572 Bytes

Contents

module Fog
  module Compute
    class Google

      class Mock

        def delete_disk(disk_name)
          Fog::Mock.not_implemented
        end

      end

      class Real

        def delete_disk(disk_name, zone_name=@default_zone)
          api_method = @compute.disks.delete
          parameters = {
            'project' => @project,
            'disk' => disk_name,
            'zone' => zone_name
          }

          result = self.build_result(api_method, parameters)
          response = self.build_response(result)
        end

      end

    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/google/requests/compute/delete_disk.rb
gapinc-fog-1.14.0 lib/fog/google/requests/compute/delete_disk.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/google/requests/compute/delete_disk.rb
fog-1.14.0 lib/fog/google/requests/compute/delete_disk.rb
fog-1.13.0 lib/fog/google/requests/compute/delete_disk.rb
gapinc-fog-1.12.1.2 lib/fog/google/requests/compute/delete_disk.rb
gapinc-fog-1.12.1.1 lib/fog/google/requests/compute/delete_disk.rb
gapinc-fog-1.12.1a lib/fog/google/requests/compute/delete_disk.rb
gapinc-fog-1.12.1 lib/fog/google/requests/compute/delete_disk.rb
fog-1.12.1 lib/fog/google/requests/compute/delete_disk.rb
fog-1.12.0 lib/fog/google/requests/compute/delete_disk.rb
fog-1.11.1 lib/fog/google/requests/compute/delete_disk.rb
fog-1.11.0 lib/fog/google/requests/compute/delete_disk.rb