Sha256: f36b459268fdfd42c5c2e84ca3fae053916c3b9843aded71f136c4396b58484e

Contents?: true

Size: 579 Bytes

Versions: 8

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

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

module Decidim
  # This namespace holds the logic of the `Elections` component. This component
  # allows users to create elections in a participatory space.
  module Elections
    autoload :BulletinBoardClient, "decidim/elections/bulletin_board_client"

    def self.bulletin_board
      @bulletin_board ||= BulletinBoardClient.new(Rails.application.secrets.bulletin_board || {})
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-elections-0.23.6 lib/decidim/elections.rb
decidim-elections-0.23.5 lib/decidim/elections.rb
decidim-elections-0.23.4 lib/decidim/elections.rb
decidim-elections-0.23.3 lib/decidim/elections.rb
decidim-elections-0.23.2 lib/decidim/elections.rb
decidim-elections-0.23.1 lib/decidim/elections.rb
decidim-elections-0.23.1.rc1 lib/decidim/elections.rb
decidim-elections-0.23.0 lib/decidim/elections.rb