This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @class FileUploaderClass | |
* @desc Lets you uplaod a file in Salesforce by giving a base64 string of the | |
* file, a name for the file, and the Id of the record that you want to attach | |
* the file to. | |
* | |
* @example: | |
* FileUploaderClass.uploadFile(myBase64String, 'Invoice.pdf', '906F0000000kG2UIAU') | |
*/ | |
public class FileUploaderClass { |