Sha256: 46e5e4dda050eb87dac36a1c88d83c3be290910fb14d2230bc70d2567669a0ed
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
module StatusCat module Checkers class S3 < Base def initialize if !defined?( ::AWS ) @status = 'aws-sdk gem not installed' else @value = AWS.config.access_key_id @status = fail_on_exception do s3 = AWS::S3.new ( s3.buckets.count > 0 ) ? nil : 'no buckets' end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
status_cat-0.0.8 | lib/status_cat/checkers/s3.rb |