Sha256: b64c3b9d27e9a027a38cd961cd3110356e191d427fa8d61d700ca2ad9ee0d1fe

Contents?: true

Size: 1.28 KB

Versions: 8

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

require "decidim/meetings/admin"
require "decidim/meetings/api"
require "decidim/meetings/engine"
require "decidim/meetings/admin_engine"
require "decidim/meetings/directory"
require "decidim/meetings/directory_engine"
require "decidim/meetings/component"
require "decidim/meetings/polls"

module Decidim
  # Base module for this engine.
  module Meetings
    autoload :Registrations, "decidim/meetings/registrations"
    autoload :MeetingSerializer, "decidim/meetings/meeting_serializer"
    autoload :UserAnswersSerializer, "decidim/meetings/user_answers_serializer"
    autoload :DataPortabilityUserAnswersSerializer, "decidim/meetings/data_portability_user_answers_serializer"

    include ActiveSupport::Configurable

    # Public Setting that defines whether proposals can be linked to meetings
    config_accessor :enable_proposal_linking do
      Decidim.const_defined?("Proposals")
    end

    # Public Setting that defines the interval when the upcoming meeting will be sent
    config_accessor :upcoming_meeting_notification do
      2.days
    end
  end

  module ContentParsers
    autoload :MeetingParser, "decidim/content_parsers/meeting_parser"
  end

  module ContentRenderers
    autoload :MeetingRenderer, "decidim/content_renderers/meeting_renderer"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-meetings-0.26.10 lib/decidim/meetings.rb
decidim-meetings-0.26.9 lib/decidim/meetings.rb
decidim-meetings-0.26.8 lib/decidim/meetings.rb
decidim-meetings-0.26.7 lib/decidim/meetings.rb
decidim-meetings-0.26.5 lib/decidim/meetings.rb
decidim-meetings-0.26.4 lib/decidim/meetings.rb
decidim-meetings-0.26.3 lib/decidim/meetings.rb
decidim-meetings-0.26.2 lib/decidim/meetings.rb