Sha256: f26e0d3dacad3c8375de9232157245201e42f9eccf1adaaabc89b09a4c07d922
Contents?: true
Size: 374 Bytes
Versions: 11
Compression:
Stored size: 374 Bytes
Contents
class S3Collection include GemConfigurator attr_accessor :files # Instantiates and configures a S3Collection, using the s3_collection.yml configuration file. def initialize configure connection = AWS::S3::Base.establish_connection! @settings['connection'] Bucket.create(@settings['bucket']) self.files = Bucket.find(@settings['bucket']) end end
Version data entries
11 entries across 11 versions & 1 rubygems