File¶
-
class
moco_wrapper.util.io.File(file_path, file_name=None)¶ Helper class for handling files
-
classmethod
load(path)¶ Helper method to create a
Fileobject from a path.Returns: PurchaseFileobjectReturn type: PurchaseFile
-
to_base64()¶ Converts the content of the file to its base64 representation.
Returns: File content as base64 Return type: str
-
classmethod