new Paste()
Paste class
bundles helper functions around the paste formats
- Source:
Methods
(static) getFormat() → {string}
gets the used formatter
- Source:
Returns:
- Type
- string
(static) getTimeToLive() → {string}
gets the remaining seconds before the paste expires
returns 0 if there is no expiration
- Source:
Returns:
- Type
- string
(static) isBurnAfterReadingEnabled() → {bool}
is burn-after-reading enabled
- Source:
Returns:
- Type
- bool
(static) isDiscussionEnabled() → {bool}
are discussions enabled
- Source:
Returns:
- Type
- bool