Sha256: f8c3fdfc6880464303ccffd7d8b0ebbf5f5e29f1a3df8449e6b05310d489f1dc
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true # An opinionated Paperclip module Paperweight # Stores various metadata about the configuration of `paperweight`. class Config attr_accessor :asset_server, :bucket, :credentials def initialize @bucket = '' @credentials = { region: 'us-east-1' } end end class << self def config @config ||= Config.new end def configure yield config end end end
Version data entries
5 entries across 5 versions & 1 rubygems