This commit is contained in:
Erik C. Thauvin 2019-09-23 11:23:44 -07:00
parent befd8bfc3f
commit 7e3c7c1190

View file

@ -124,11 +124,10 @@ open class Akismet(apiKey: String) {
/** /**
* The `x-akismet-pro-tip` header from the last operation, if any. * The `x-akismet-pro-tip` header from the last operation, if any.
* *
* If the `x-akismet-pro-tip` header is set to discard, then Akismet has determined that the comment is blatant spam, * If the `x-akismet-pro-tip` header is set to discard, then Akismet has determined that the comment is blatant
* and you can safely discard it without saving it in any spam queue. * spam, and you can safely discard it without saving it in any spam queue.
* *
* Read more about this feature in this * See the [Akismet API](https://akismet.com/development/api/#comment-check) for more details.
* [Akismet blog post](https://blog.akismet.com/2014/04/23/theres-a-ninja-in-your-akismet/).
* *
* @see [Akismet.isDiscard] * @see [Akismet.isDiscard]
*/ */
@ -140,8 +139,7 @@ open class Akismet(apiKey: String) {
* Set to true if Akismet has determined that the last [checked comment][checkComment] is blatant spam, and you * Set to true if Akismet has determined that the last [checked comment][checkComment] is blatant spam, and you
* can safely discard it without saving it in any spam queue. * can safely discard it without saving it in any spam queue.
* *
* Read more about this feature in this * See the [Akismet API](https://akismet.com/development/api/#comment-check) for more details.
* [Akismet blog post](https://blog.akismet.com/2014/04/23/theres-a-ninja-in-your-akismet/).
* *
* @see [Akismet.proTip] * @see [Akismet.proTip]
*/ */
@ -369,7 +367,8 @@ open class Akismet(apiKey: String) {
} }
/** /**
* Reset the [debugHelp], [httpStatusCode], [isDiscard], [isVerifiedKey], [proTip], and [response] properties. * Reset the [debugHelp], [errorMessage], [httpStatusCode], [isDiscard], [isVerifiedKey], [proTip], and
* [response] properties.
*/ */
fun reset() { fun reset() {
debugHelp = "" debugHelp = ""