Class: TwistedCaldav::Request::ReportVTODO

Inherits:
Base
  • Object
show all
Defined in:
lib/twisted-caldav/request.rb

Instance Attribute Summary

Attributes inherited from Base

#xml

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from TwistedCaldav::Request::Base

Instance Method Details

#to_xmlObject



61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/twisted-caldav/request.rb', line 61

def to_xml
    xml.c 'calendar-query'.intern, NAMESPACES do
        xml.d :prop do
            xml.d :getetag
            xml.c 'calendar-data'.intern
        end
        xml.c :filter do
            xml.c 'comp-filter'.intern, :name=> 'VCALENDAR' do
                xml.c 'comp-filter'.intern, :name=> 'VTODO'
            end
        end
    end
end