class AWS::S3::BucketLifecycleConfiguration
def rules
-
(Array
- Returns an array of rules.)
def rules @rules ||= begin begin opts = { :bucket_name => bucket.name } response = bucket.client.get_bucket_lifecycle_configuration(opts) parse_xml(response.http_response.body) rescue Errors::NoSuchLifecycleConfiguration [] end end end