Class: SabredavClient::XmlRequestBuilder::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/sabredav_client/xml_request_builder/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

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

#xmlObject (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