class Tilia::DavAcl::Exception::NoAbstract

This exception is thrown when a user tries to set a privilege that's marked as abstract.

Public Instance Methods

serialize(_server, error_node) click to toggle source

Adds in extra information in the xml response.

This method adds the {DAV:}no-ace-conflict element as defined in rfc3744

@param DAVServer server @param DOMElement error_node @return void

# File lib/tilia/dav_acl/exception/no_abstract.rb, line 14
def serialize(_server, error_node)
  error = LibXML::XML::Node.new('d:no-abstract')
  error_node << error
end