class AgCalDAV::Request::ReportVTODO

Public Instance Methods

to_xml() click to toggle source
# File lib/agcaldav/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