277
278
279
280
281
282
283
284
285
286
287
288
|
# File 'lib/azure/storage/common/service/serialization.rb', line 277
def service_properties_to_xml(properties)
builder = Nokogiri::XML::Builder.new(encoding: "utf-8") do |xml|
xml.StorageServiceProperties {
xml.DefaultServiceVersion(properties.default_service_version) if properties.default_service_version
logging_to_xml(properties.logging, xml) if properties.logging
hour_metrics_to_xml(properties.hour_metrics, xml) if properties.hour_metrics
minute_metrics_to_xml(properties.minute_metrics, xml) if properties.minute_metrics
cors_to_xml(properties.cors, xml) if properties.cors
}
end
builder.to_xml
end
|