Sha256: 6c489490479cf47afc30e951ab050e3ed296d96e74f24eb4741414ef9534911f
Contents?: true
Size: 371 Bytes
Versions: 7
Compression:
Stored size: 371 Bytes
Contents
module S3Secure class AbstractBase include S3Secure::AwsServices extend Memoist def initialize(options={}) @options = options @bucket = options[:bucket] # not set on the list command but common enough to set here end def buckets resp = s3_client.list_buckets resp.buckets.map(&:name) end memoize :buckets end end
Version data entries
7 entries across 7 versions & 1 rubygems