Skip to content

Refactor spamcheck client to return a result object

Ian Anderson requested to merge spamcheck-result-refactor into master

What does this MR do and why?

This refactor adds a Spamcheck::Result class which the spamcheck client returns instead of multiple values. As our spam capabilities expand there will be various fields in a response message and adding this Result class will make it much easier to integrate those changes.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports