Sha256: e5c114b0aac0fdc99755242d7fbd7956acf76febbf3f617e22f21038e9e23273
Contents?: true
Size: 409 Bytes
Versions: 26
Compression:
Stored size: 409 Bytes
Contents
module Heirloom class 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
26 entries across 26 versions & 1 rubygems