Sha256: d51a2eaffef5579b652457d8dd72d87fc1967c630cf61e9f020c3fe3e4771c91
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 Bytes
Contents
module Heirloom module Downloader class S3 def initialize(args) @config = args[:config] @region = args[:region] @logger = @config.logger end def download_file(args) s3.get_object args[:bucket], args[:key] end def s3 @s3 ||= AWS::S3.new :config => @config, :region => @region end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
heirloom-0.1.4 | lib/heirloom/downloader/s3.rb |