Sha256: b163c7f54622756df5a0cef0e91dd08a779e5da4ae863598e9621815ac5ccb61

Contents?: true

Size: 394 Bytes

Versions: 20

Compression:

Stored size: 394 Bytes

Contents

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

20 entries across 20 versions & 1 rubygems

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