module AwsExtensions::S3::BucketTagging

Public Instance Methods

safe_tags() click to toggle source

Public: Safely get the tag set for the BucketTagging object (ignore the exception that occurs when there aren't any tags)

Returns the tags or an empty array if there are none

# File lib/aws_extensions/s3/BucketTagging.rb, line 8
def safe_tags
  tag_set
rescue Aws::S3::Errors::NoSuchTagSet
  []
end