| Class | Viking::Base |
| In: |
lib/viking/base.rb
|
| Parent: | Object |
| options | [RW] |
Checks to ensure that the minimum number of options have been provided to make a call to the spam protection service.
Required options include:
See the module for your desired spam protection service for details on the format of these options.
Automatically determines whether to mark as spam or ham depending on a boolean switch, is_spam. The post will be marked as spam when is_spam is true. The post will be marked as ham if is_spam is false.
| is_spam <Boolean>: | determines whether to mark a post as spam or ham — spam when true, ham when false |
| options <Hash>: | any options either mark_as_spam or mark_as_ham accepts |