Sha256: 6a06b3f8cc38e9794b36618efa497fe7f3d2b54aaf7612dc3c2039e7b2fc6511

Contents?: true

Size: 220 Bytes

Versions: 4

Compression:

Stored size: 220 Bytes

Contents

require 'singleton'

module S3Multipart
  class Config
    include Singleton
    attr_accessor :s3_access_key, :s3_secret_key, :bucket_name

    def self.configure(block)
      block.call(self.instance)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
s3_multipart-0.0.9 lib/s3_multipart/config.rb
s3_multipart-0.0.8 lib/s3_multipart/config.rb
s3_multipart-0.0.7 lib/s3_multipart/config.rb
s3_multipart-0.0.6 lib/s3_multipart/config.rb