class SabredavClient::XmlRequestBuilder::ReportEventChanges
Attributes
sync_token[RW]
Public Class Methods
new(sync_token)
click to toggle source
Calls superclass method
SabredavClient::XmlRequestBuilder::Base::new
# File lib/sabredav_client/xml_request_builder/report_event_changes.rb, line 6 def initialize(sync_token) @sync_token = sync_token super() end
Public Instance Methods
to_xml()
click to toggle source
# File lib/sabredav_client/xml_request_builder/report_event_changes.rb, line 11 def to_xml xml.tag! "d:sync-collection", NAMESPACE do xml.tag! "d:sync-token", sync_token xml.tag! "d:sync-level", "1" xml.d :prop do xml.d :getetag end end end