Sha256: 90e72bde6b0763c00262b111f082062490124d0d54df802b8c70e2789fce2b92

Contents?: true

Size: 243 Bytes

Versions: 16

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

class DocumentBundleUploader < CarrierWave::Uploader::Base
  def store_dir
    "bundles/#{model.resource_id}/#{model.category}"
  end

  def fog_attributes
    { 'Content-Disposition' => 'attachment' }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.5.4 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.5.3 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.5.2 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.5.1 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.5.0 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.4.2 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.4.1 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.4.0 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.3.1 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.1.4 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.3.0 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.1.3 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.2.0 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.1.2 app/uploaders/document_bundle_uploader.rb
lcms-engine-0.1.0 app/uploaders/document_bundle_uploader.rb