Sha256: a997c952cdc18a6d64428a0852f21efe3ee7a23eefe63a47e0250dceb79ed42a

Contents?: true

Size: 280 Bytes

Versions: 110

Compression:

Stored size: 280 Bytes

Contents

module Fog
  module Compute
    class Libvirt
      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

110 entries across 110 versions & 17 rubygems

Version Path
fog-libvirt-0.5.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.4.2 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.4.1 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.4.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.3.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.2.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.1.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.0.4 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.0.3 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.0.2 lib/fog/libvirt/requests/compute/destroy_network.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/libvirt/requests/compute/destroy_network.rb
fog-libvirt-0.0.1 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-1.29.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-1.28.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-1.27.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-1.26.0 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-1.25.0 lib/fog/libvirt/requests/compute/destroy_network.rb
nsidc-fog-1.24.1 lib/fog/libvirt/requests/compute/destroy_network.rb
fog-1.24.0 lib/fog/libvirt/requests/compute/destroy_network.rb
ns-fog-1.22.11 lib/fog/libvirt/requests/compute/destroy_network.rb