yandex-cleanweb
yandex-cleanweb copied to clipboard
DEPRECATED: please note, this project is no longer being maintained
We should avoid using real HTTP calls in specs and stub requests with `fakeweb` or `webmock`
Всем привет Народ, а что является признаком того, что сообщение спам? Результат отличный от false или размер массива links отличный от нуля?
В ридми указана устаревшая ссылка https://tech.yandex.ru/cleanweb/getkey-docpage/ ее следует заменить на https://tech.yandex.ru/keys/get/?service=cw
Добавил новый метод, который позволяет помечать сообщения как спамовые: https://tech.yandex.ru/cleanweb/doc/dg/concepts/complain-docpage/ гляньте, пожалуйста, пул-реквест.
When the response comes in invalid, yandex-cleanweb fails with the following: ``` NoMethodError: undefined method `content' for nil:NilClass File "/home/amplifr/amplifr/shared/bundle/ruby/2.0.0/bundler/gems/yandex-cleanweb-f244a29261a2/lib/yandex_cleanweb.rb" line 22 in spam? ``` So my guess is that...