Constructor
# new UploadedPaste(upload_data)
Used to handle a paste that you created.
Parameters:
Name | Type | Description |
---|---|---|
upload_data |
object | The json object you get after creating the paste. |
- Source:
Methods
# deletePaste() → {Promise.<(undefined|Error)>}
Delete the paste.
- Source:
Returns:
Deletes the paste. Returns undefined on success.
- Type
- Promise.<(undefined|Error)>
# getDelUrl() → {String}
Get the delete URL of the paste.
- Source:
Returns:
The delete URL of the paste.
- Type
- String
# getUrl() → {String}
Get the URL to the paste.
- Source:
Returns:
The URL to the paste.
- Type
- String