Module: AwsExtensions::S3::BucketTagging
- Defined in:
- lib/aws_extensions/s3/BucketTagging.rb
Instance Method Summary collapse
-
#safe_tags ⇒ Object
Public: Safely get the tag set for the BucketTagging object (ignore the exception that occurs when there aren’t any tags).
Instance Method Details
#safe_tags ⇒ Object
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
10 11 12 13 14 |
# File 'lib/aws_extensions/s3/BucketTagging.rb', line 10 def tag_set rescue Aws::S3::Errors::NoSuchTagSet [] end |