Class: DocumentBundleUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- DocumentBundleUploader
- Defined in:
- app/uploaders/document_bundle_uploader.rb
Instance Method Summary collapse
Instance Method Details
#fog_attributes ⇒ Object
8 9 10 |
# File 'app/uploaders/document_bundle_uploader.rb', line 8 def fog_attributes { 'Content-Disposition' => 'attachment' } end |
#store_dir ⇒ Object
4 5 6 |
# File 'app/uploaders/document_bundle_uploader.rb', line 4 def store_dir "bundles/#{model.resource_id}/#{model.category}" end |