Class: AttachmentFileUploader
- Inherits:
-
AbAdmin::CarrierWave::BaseUploader
- Object
- CarrierWave::Uploader::Base
- AbAdmin::CarrierWave::BaseUploader
- AttachmentFileUploader
- Defined in:
- lib/generators/ab_admin/install/templates/uploaders/attachment_file_uploader.rb
Instance Attribute Summary
Attributes inherited from AbAdmin::CarrierWave::BaseUploader
Instance Method Summary collapse
Methods inherited from AbAdmin::CarrierWave::BaseUploader
#convert_to_webp, #cropper, #default_url, #dimensions, #extension, #filename, #full_filename, #human_part, #image?, #normalize_filename, #options_for_webp, #quality, #rename_via_move, #retina?, #rotate, #save_original_name, #secure_token, #store_dir, #store_model_filename, #strip, #version_extension, #version_filename_part, #watermark, #webp?
Methods included from AbAdmin::Utils::EvalHelpers
Instance Method Details
#extension_allowlist ⇒ Object
2 3 4 |
# File 'lib/generators/ab_admin/install/templates/uploaders/attachment_file_uploader.rb', line 2 def extension_allowlist %w(pdf doc docx xls xlsx ppt pptx jpg jpeg gif png zip rar csv) end |