Class: Xls

Inherits:
TextFile show all
Defined in:
app/models/file_asset.rb

Instance Method Summary collapse

Methods inherited from TextFile

#data=, #text

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_srcObject



505
506
507
# File 'app/models/file_asset.rb', line 505

def thumbnail_src
  "#{ErpTechSvcs::Config.file_protocol}://#{File.join(ErpTechSvcs::Config.installation_domain, '/assets/xls_file.png')}"
end