class AWS::S3::BucketLifecycleConfiguration
def to_xml
-
(String)
- Returns an xml string representation of this
def to_xml xml = Builder::XmlMarkup.new(:indent => 2) xml.LifecycleConfiguration do rules.each do |rule| xml.Rule do xml.ID rule.id xml.Prefix rule.prefix xml.Status rule.status xml.Expiration do xml.Days rule.expiration_days end end end end.strip end