class SabredavClient::XmlRequestBuilder::ProppatchEventsOwner

Attributes

owner[RW]

Public Class Methods

new(owner) click to toggle source
# File lib/sabredav_client/xml_request_builder/proppatch_events_owner.rb, line 7
def initialize(owner)
  @owner = owner
  super()
end

Public Instance Methods

to_xml() click to toggle source
# File lib/sabredav_client/xml_request_builder/proppatch_events_owner.rb, line 12
def to_xml
  xml.d :propertyupdate, CS_NAMESPACES do
    xml.d :set do
      xml.d :prop do
        xml.cs :objectOwner, owner
      end
    end
  end
end