Sha256: 0d9a75de5244884933e2690ad53aac7fd286026c4253ea144a2dbdb9a3ff0ecd

Contents?: true

Size: 446 Bytes

Versions: 21

Compression:

Stored size: 446 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def detach_disk(_instance, _zone, _device_name)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def detach_disk(instance, zone, device_name)
          zone = zone.split("/")[-1]
          @compute.detach_disk(@project, zone, instance, device_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/detach_disk.rb