Class: DocxFile
- Defined in:
- app/models/file_asset.rb
Instance Method Summary collapse
Methods inherited from TextFile
Methods inherited from FileAsset
acceptable?, adjust_image, all_valid_extensions, apply_filters, #basename, #check_name_uniqueness, #copy, #extname, #fully_qualified_url, #get_contents, #initialize, #is_secured?, #move, #path, #save_dimensions, scope_by_dba_organization, scope_by_party, #set_content_type, #set_data_file_name, #set_sti, split_path, #to_data_hash, #to_s, #trim_name, type_by_extension, type_for, #url, valid_extensions, validate_extension
Constructor Details
This class inherits a constructor from FileAsset
Instance Method Details
#thumbnail_src ⇒ Object
495 496 497 |
# File 'app/models/file_asset.rb', line 495 def thumbnail_src "#{ErpTechSvcs::Config.file_protocol}://#{File.join(ErpTechSvcs::Config.installation_domain, '/assets/docx_file.png')}" end |