README.md in rack_dav-0.4.0 vs README.md in rack_dav-0.4.1
- old
+ new
@@ -27,13 +27,13 @@
Using RackDAV inside a rack application is quite easy. A simple rackup
script looks like this:
require 'rubygems'
require 'rack_dav'
-
+
use Rack::CommonLogger
-
+
run RackDAV::Handler.new(:root => '/path/to/docs')
## Implementing your own WebDAV resource
RackDAV::Resource is an abstract base class and defines an interface
@@ -82,9 +82,13 @@
* __copy(dest)__: Copy this resource to given destination resource.
* __move(dest)__: Move this resource to given destination resource.
* __make\_collection__: Create this resource as collection.
+
+* __set_custom_property(name, value)__: Set a custom property on the resource. If the value is nil, delete the custom property.
+
+* __get_custom_property(name)__: Return the value of the named custom property.
* __lock(locktoken, timeout, lockscope=nil, locktype=nil, owner=nil)__: Lock this resource.
If scope, type and owner are nil, refresh the given lock.
* __unlock(token)__: Unlock this resource