Class: SabredavClient::XmlRequestBuilder::ProppatchEventsOwner
- Defined in:
- lib/sabredav_client/xml_request_builder/proppatch_events_owner.rb
Instance Attribute Summary collapse
-
#owner ⇒ Object
Returns the value of attribute owner.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(owner) ⇒ ProppatchEventsOwner
constructor
A new instance of ProppatchEventsOwner.
- #to_xml ⇒ Object
Constructor Details
#initialize(owner) ⇒ ProppatchEventsOwner
Returns a new instance of ProppatchEventsOwner.
7 8 9 10 |
# File 'lib/sabredav_client/xml_request_builder/proppatch_events_owner.rb', line 7 def initialize(owner) @owner = owner super() end |
Instance Attribute Details
#owner ⇒ Object
Returns the value of attribute owner.
5 6 7 |
# File 'lib/sabredav_client/xml_request_builder/proppatch_events_owner.rb', line 5 def owner @owner end |
Instance Method Details
#to_xml ⇒ Object
12 13 14 15 16 17 18 19 20 |
# 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 |