Module: Tilia::CalDav::Notifications::INode
- Included in:
- Node
- Defined in:
- lib/tilia/cal_dav/notifications/i_node.rb
Overview
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.
Instance Method Summary collapse
-
#etag ⇒ Object
Returns the etag for the notification.
-
#notification_type ⇒ Object
This method must return an xml element, using the SabreCalDAVNotificationsINotificationType classes.
Instance Method Details
#etag ⇒ Object
Returns the etag for the notification.
The etag must be surrounded by litteral double-quotes.
25 26 |
# File 'lib/tilia/cal_dav/notifications/i_node.rb', line 25 def etag end |
#notification_type ⇒ Object
This method must return an xml element, using the SabreCalDAVNotificationsINotificationType classes.
17 18 |
# File 'lib/tilia/cal_dav/notifications/i_node.rb', line 17 def notification_type end |