class OwO::UploadedFileData
- OwO::UploadedFileData
- Reference
- Object
Overview
UploadedFileData
contains data to the actual files which were uploaded.
The following fields are in use:
- hash is the entire data hash. This can be used to verify the file which was sent.
- name is the name of the file sent, as specified by the file name in the upload method.
- url is the URI endpoint to the CDN. It must have a valid CDN domain as a prefix to visit.
- size is the total size of the file. This is useful to show users where the library is used.
Defined in:
Constructors
Instance Method Summary
- #hash : String
- #hash=(_hash : String)
- #name : String
- #name=(_name : String)
- #size : Int64
- #size=(_size : Int64)
- #to_json(json : JSON::Builder)
- #url : String
- #url=(_url : String)