Sha256: 79e91e9b938b37c4adae2cff71f400070252f5d491b45f87788cefea4338a5cf
Contents?: true
Size: 549 Bytes
Versions: 46
Compression:
Stored size: 549 Bytes
Contents
class Document::ImportDataFile < Document::Base # Constants UPLOAD_LIMIT = 12582912 # this is in bytes which is equivalent to 12 megabytes INSTRUCTIONS = [ "the filename should be in in CSV/XLS/XLSX format", "the column structure should be exactly the same as mentioned. To make sure that you are following the structure, download the sample data and inspect it.", "the file size should not exceed <strong>10 Mb</strong>. In case if your file is big, split them into multiple files." ] mount_uploader :document, DocumentUploader end
Version data entries
46 entries across 46 versions & 1 rubygems