Sha256: 2c348dffbf3cc6369e334e7462eccdf657aa998122f93fec22fdcbb8b70bd449

Contents?: true

Size: 895 Bytes

Versions: 1

Compression:

Stored size: 895 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This namespace holds the logic of the `decidim-participatory_documents` module.
  module ParticipatoryDocuments
    include ActiveSupport::Configurable

    # Public: The maximum length of any text field (body, answers, etc) to export.
    # Defaults to 50. Set to 0 to export the full text.
    config_accessor :max_export_text_length do
      50
    end

    # Public: The minimum length of a suggestion to be considered valid.
    config_accessor :min_suggestion_length do
      5
    end

    # Public: The maximum length of a suggestion to be considered valid.
    config_accessor :max_suggestion_length do
      500
    end
  end
end

require "decidim/participatory_documents/engine"
require "decidim/participatory_documents/admin"
require "decidim/participatory_documents/admin_engine"
require "decidim/participatory_documents/component"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-participatory_documents-0.2.0 lib/decidim/participatory_documents.rb