Sha256: 85f97177dfe90029a0edf4634b9dde6c41ac22f22355df815a417c2710990c85

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

if Rails.env.test?
  TICKET_QR_STORAGE = {} # default
else
  TICKET_QR_STORAGE = {
    :storage => :s3,
    :path => ":attachment/:id/:style.:extension",
    :bucket => Rails.configuration.s3.bucket,
    :s3_protocol => 'https',
    :s3_credentials => {
      :access_key_id => Rails.configuration.s3.access_key_id,
      :secret_access_key => Rails.configuration.s3.secret_access_key
    }
  }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.19 config/initializers/paperclip.rb
artfully_ose-1.2.0.pre.18 config/initializers/paperclip.rb
artfully_ose-1.2.0.pre.17 config/initializers/paperclip.rb
artfully_ose-1.2.0.pre.16 config/initializers/paperclip.rb