Sha256: f52d545e2981433ea27e1eddff06a272cc67b566f4e29b169e0534fad9b67da6

Contents?: true

Size: 280 Bytes

Versions: 11

Compression:

Stored size: 280 Bytes

Contents

module Fog
  module Libvirt
    class Compute
      class Real
        def destroy_network(uuid)
          client.lookup_network_by_uuid(uuid).destroy
        end
      end

      class Mock
        def destroy_network(uuid)
          true
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
fog-libvirt-0.12.2 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.12.1 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.12.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.11.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.10.1 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.10.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-csem-0.9.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.9.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.8.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.7.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.6.0 lib/fog/libvirt/requests/compute/destroy_network.rb