module Tilia::CalDav::Notifications::INode

This node represents a single notification.

The signature is mostly identical to that of SabreDAVIFile, but the get method MUST return an xml document that matches the requirements of the 'caldav-notifications.txt' spec.

For a complete example, check out the Notification class, which contains some helper functions.

Public Instance Methods

etag() click to toggle source

Returns the etag for the notification.

The etag must be surrounded by litteral double-quotes.

@return string

# File lib/tilia/cal_dav/notifications/i_node.rb, line 25
def etag
end
notification_type() click to toggle source

This method must return an xml element, using the SabreCalDAVNotificationsINotificationType classes.

@return INotificationType

# File lib/tilia/cal_dav/notifications/i_node.rb, line 17
def notification_type
end