Sha256: 90fbe28bb28b4730ca8a7f83c1243fdfaf2b31ca5877868802a5552f8b6bc3e5

Contents?: true

Size: 381 Bytes

Versions: 6

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

require_relative "cdtb/version"
require_relative "cdtb/engine"
require_relative "cdtb/tasks"

module Decidim
  # Cdtb configuration
  module Cdtb
    include ActiveSupport::Configurable

    class Error < StandardError; end

    config_accessor :spam_words do
      %w[viagra sex game free crypto crack xxx luck girls vip download]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-cdtb-0.3.0 lib/decidim/cdtb.rb
decidim-cdtb-0.2.1 lib/decidim/cdtb.rb
decidim-cdtb-0.1.8 lib/decidim/cdtb.rb
decidim-cdtb-0.1.7 lib/decidim/cdtb.rb
decidim-cdtb-0.1.6 lib/decidim/cdtb.rb
decidim-cdtb-0.1.4 lib/decidim/cdtb.rb