Sha256: b2f3a97a08e444e0e81ed887386b0e8bc718f087ecc5e16a5f7f882cf497ca2d

Contents?: true

Size: 496 Bytes

Versions: 14

Compression:

Stored size: 496 Bytes

Contents

module Fog
  module Compute
    class Google
      class Mock
        def attach_disk(_instance, _zone, _disk = {})
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end

      class Real
        def attach_disk(instance, zone, disk = {})
          @compute.attach_disk(
            @project, zone.split("/")[-1], instance,
            ::Google::Apis::ComputeV1::AttachedDisk.new(**disk)
          )
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.24.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.23.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.22.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.21.1 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.21.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.20.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.19.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.18.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.17.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.16.1 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.16.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.15.0 lib/fog/compute/google/requests/attach_disk.rb
fog-google-1.14.0 lib/fog/compute/google/requests/attach_disk.rb