Class: SabredavClient::XmlRequestBuilder::ReportVTODO
- Defined in:
- lib/sabredav_client/xml_request_builder/report_vtodo.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SabredavClient::XmlRequestBuilder::Base
Instance Method Details
#to_xml ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/sabredav_client/xml_request_builder/report_vtodo.rb', line 5 def to_xml xml.c 'calendar-query'.intern, C_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 |