Class: SabredavClient::XmlRequestBuilder::Base
- Inherits:
-
Object
- Object
- SabredavClient::XmlRequestBuilder::Base
- Defined in:
- lib/sabredav_client/xml_request_builder/base.rb
Direct Known Subclasses
Mkcalendar, MkcolPrincipal, PROPFINDCalendar, PostSharing, PropfindInvite, PropfindOwner, ProppatchCalendar, ProppatchEventsOwner, ProppatchPrincipal, ReportEventChanges, ReportVEVENT, ReportVTODO
Instance Attribute Summary collapse
-
#xml ⇒ Object
readonly
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/sabredav_client/xml_request_builder/base.rb', line 10 def initialize @xml = Builder::XmlMarkup.new(indent: 2) @xml.instruct! end |
Instance Attribute Details
#xml ⇒ Object (readonly)
Returns the value of attribute xml.
14 15 16 |
# File 'lib/sabredav_client/xml_request_builder/base.rb', line 14 def xml @xml end |