Sha256: 8eb125d5ad9250fe62da7dad9a6716ed88759a5dc2025aac20e355ffc36d8a2c

Contents?: true

Size: 244 Bytes

Versions: 13

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true
require 'carrierwave'

module EacRailsBase0
  class DefaultFileUploader < ::CarrierWave::Uploader::Base
    if ENV['carrierwave_provider'] == 'AWS'
      storage :fog
    else
      storage :file
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
eac_rails_base0-0.29.1 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.29.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.28.3 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.28.2 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.28.1 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.28.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.27.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.26.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.25.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.24.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.23.1 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.23.0 app/uploaders/eac_rails_base0/default_file_uploader.rb
eac_rails_base0-0.22.0 app/uploaders/eac_rails_base0/default_file_uploader.rb