Module: Decidim::SpamDetection
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/decidim/spam_detection.rb,
lib/decidim/spam_detection/admin.rb,
lib/decidim/spam_detection/engine.rb,
lib/decidim/spam_detection/command.rb,
lib/decidim/spam_detection/version.rb,
lib/decidim/spam_detection/api_proxy.rb,
lib/decidim/spam_detection/admin_engine.rb,
lib/decidim/spam_detection/command_errors.rb,
app/jobs/decidim/spam_detection/notify_admins.rb,
app/jobs/decidim/spam_detection/mark_users_job.rb,
lib/decidim/spam_detection/block_spam_user_command.rb,
lib/decidim/spam_detection/report_spam_user_command.rb,
lib/decidim/spam_detection/spam_user_command_adapter.rb,
lib/decidim/spam_detection/abstract_spam_user_command.rb,
app/services/decidim/spam_detection/mark_users_service.rb,
app/mailers/decidim/spam_detection/spam_detection_mailer.rb
Overview
This holds the decidim-spam_detection version.
Defined Under Namespace
Modules: Admin, Command
Classes: AbstractSpamUserCommand, AdminEngine, ApiProxy, BlockSpamUserCommand, CommandErrors, Engine, MarkUsersJob, MarkUsersService, NotifyAdmins, ReportSpamUserCommand, SpamDetectionMailer, SpamUserCommandAdapter
Constant Summary
collapse
- DEFAULT_URL =
"http://localhost:8080/api"
Class Method Summary
collapse
Class Method Details
.decidim_version ⇒ Object
11
12
13
|
# File 'lib/decidim/spam_detection/version.rb', line 11
def self.decidim_version
"0.27.0"
end
|
.service_activated? ⇒ Boolean
46
47
48
|
# File 'lib/decidim/spam_detection.rb', line 46
def self.service_activated?
spam_detection_api_activate_service.call
end
|
.version ⇒ Object
7
8
9
|
# File 'lib/decidim/spam_detection/version.rb', line 7
def self.version
"4.0.0"
end
|