Sha256: 326c1096f7ea9dbfb8f518cd30dda585be53bdb103e3fcc5f80ff4f2f2c75ade

Contents?: true

Size: 588 Bytes

Versions: 4

Compression:

Stored size: 588 Bytes

Contents

module Fog
  module Compute
    class XenServer

      class Real

        #
        # Destroy a Network
        #
        # @see http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=network
        #
        def destroy_network( ref )
          @connection.request(
            {
              :parser => Fog::Parsers::XenServer::Base.new,
              :method => 'network.destroy'
            },
            ref
          )
        end

      end

      class Mock

        def destroy_network( ref )
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fog-xenserver-0.0.1.alpha2 lib/fog/xenserver/requests/compute/destroy_network.rb
fog-xenserver-0.0.1.alpha lib/fog/xenserver/requests/compute/destroy_network.rb
fog-1.22.0 lib/fog/xenserver/requests/compute/destroy_network.rb
fog-1.21.0 lib/fog/xenserver/requests/compute/destroy_network.rb