class Tilia::Dav::Node
Node
class
This is a helper class, that should aid in getting nodes setup.
Public Instance Methods
delete()
click to toggle source
Deletes the current node
@throws SabreDAVExceptionForbidden @return void
# File lib/tilia/dav/node.rb, line 22 def delete fail Exception::Forbidden, 'Permission denied to delete node' end
last_modified()
click to toggle source
Returns the last modification time as a unix timestamp.
If the information is not available, return null.
@return int
# File lib/tilia/dav/node.rb, line 14 def last_modified nil end
name=(_name)
click to toggle source
Renames the node
@throws SabreDAVExceptionForbidden @param string name The new name @return void
# File lib/tilia/dav/node.rb, line 31 def name=(_name) fail Exception::Forbidden, 'Permission denied to rename file' end