Sha256: 3103c1dbe38be82247f70b3de36bd5cde38a9656f92a5e927eb8e475ab7c23b3

Contents?: true

Size: 541 Bytes

Versions: 4

Compression:

Stored size: 541 Bytes

Contents

module Fog
  module Compute
    class XenServer

      class Real

        #
        # Destroy a Storage Repository
        #
        # http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/?c=SR
        #
        def destroy_sr( sr_ref )
          @connection.request(
            {:parser => Fog::Parsers::XenServer::Base.new, :method => 'SR.destroy'},
            sr_ref
          )
        end

      end

      class Mock

        def destroy_sr( sr_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_sr.rb
fog-xenserver-0.0.1.alpha lib/fog/xenserver/requests/compute/destroy_sr.rb
fog-1.22.0 lib/fog/xenserver/requests/compute/destroy_sr.rb
fog-1.21.0 lib/fog/xenserver/requests/compute/destroy_sr.rb