ofMinutes

fun ofMinutes(minutes: Long): Expiry

The document will expire after the given number of minutes. Shorthand for Expiry.of(Duration.ofMinutes(x))

Throws