Module: Decidim::Elections

Includes:
ActiveSupport::Configurable
Defined in:
decidim-elections/lib/decidim/elections.rb,
decidim-elections/app/models/decidim/elections/vote.rb,
decidim-elections/app/models/decidim/elections/action.rb,
decidim-elections/app/models/decidim/elections/answer.rb,
decidim-elections/app/models/decidim/elections/result.rb,
decidim-elections/app/models/decidim/elections/trustee.rb,
decidim-elections/app/models/decidim/elections/election.rb,
decidim-elections/app/models/decidim/elections/question.rb,
decidim-elections/app/services/decidim/elections/vote_flow.rb,
decidim-elections/app/cells/decidim/elections/election_cell.rb,
decidim-elections/app/helpers/decidim/elections/votes_helper.rb,
decidim-elections/app/cells/decidim/elections/election_m_cell.rb,
decidim-elections/app/forms/decidim/elections/voter/vote_form.rb,
decidim-elections/app/forms/decidim/elections/admin/setup_form.rb,
decidim-elections/app/commands/decidim/elections/admin/end_vote.rb,
decidim-elections/app/forms/decidim/elections/admin/action_form.rb,
decidim-elections/app/forms/decidim/elections/admin/answer_form.rb,
decidim-elections/app/permissions/decidim/elections/permissions.rb,
decidim-elections/app/commands/decidim/elections/voter/cast_vote.rb,
decidim-elections/app/models/decidim/elections/elections_trustee.rb,
decidim-elections/app/services/decidim/elections/election_search.rb,
decidim-elections/app/commands/decidim/elections/admin/start_vote.rb,
decidim-elections/app/forms/decidim/elections/admin/election_form.rb,
decidim-elections/app/forms/decidim/elections/admin/question_form.rb,
decidim-elections/app/models/decidim/elections/application_record.rb,
decidim-elections/app/commands/decidim/elections/admin/start_tally.rb,
decidim-elections/app/helpers/decidim/elections/admin/steps_helper.rb,
decidim-elections/app/helpers/decidim/elections/application_helper.rb,
decidim-elections/app/queries/decidim/elections/filtered_elections.rb,
decidim-elections/app/cells/decidim/elections/election_preview_cell.rb,
decidim-elections/app/cells/decidim/elections/election_results_cell.rb,
decidim-elections/app/queries/decidim/elections/votes/pending_votes.rb,
decidim-elections/app/cells/decidim/elections/election_vote_cta_cell.rb,
decidim-elections/app/commands/decidim/elections/admin/create_answer.rb,
decidim-elections/app/commands/decidim/elections/admin/update_answer.rb,
decidim-elections/app/controllers/decidim/elections/votes_controller.rb,
decidim-elections/app/forms/decidim/elections/admin/vote_period_form.rb,
decidim-elections/app/forms/decidim/elections/voter/verify_vote_form.rb,
decidim-elections/app/helpers/decidim/elections/admin/answers_helper.rb,
decidim-elections/app/mailers/decidim/elections/vote_accepted_mailer.rb,
decidim-elections/app/presenters/decidim/elections/trustee_presenter.rb,
decidim-elections/app/commands/decidim/elections/admin/destroy_answer.rb,
decidim-elections/app/commands/decidim/elections/admin/setup_election.rb,
decidim-elections/app/helpers/decidim/elections/election_cells_helper.rb,
decidim-elections/app/models/decidim/elections/bulletin_board_closure.rb,
decidim-elections/app/permissions/decidim/elections/admin/permissions.rb,
decidim-elections/app/presenters/decidim/elections/election_presenter.rb,
decidim-elections/app/queries/decidim/elections/admin/pending_actions.rb,
decidim-elections/app/commands/decidim/elections/admin/create_election.rb,
decidim-elections/app/commands/decidim/elections/admin/create_question.rb,
decidim-elections/app/commands/decidim/elections/admin/publish_results.rb,
decidim-elections/app/commands/decidim/elections/admin/update_election.rb,
decidim-elections/app/commands/decidim/elections/admin/update_question.rb,
decidim-elections/app/controllers/concerns/decidim/elections/orderable.rb,
decidim-elections/app/commands/decidim/elections/admin/destroy_election.rb,
decidim-elections/app/commands/decidim/elections/admin/destroy_question.rb,
decidim-elections/app/commands/decidim/elections/admin/publish_election.rb,
decidim-elections/app/events/decidim/elections/election_published_event.rb,
decidim-elections/app/forms/decidim/elections/trustee_zone/trustee_form.rb,
decidim-elections/app/services/decidim/elections/current_user_vote_flow.rb,
decidim-elections/app/controllers/decidim/elections/elections_controller.rb,
decidim-elections/app/controllers/decidim/elections/feedbacks_controller.rb,
decidim-elections/app/events/decidim/elections/votes/vote_accepted_event.rb,
decidim-elections/app/queries/decidim/elections/elections_ready_to_start.rb,
decidim-elections/app/cells/decidim/elections/remaining_time_callout_cell.rb,
decidim-elections/app/cells/decidim/elections/voting_step_navigation_cell.rb,
decidim-elections/app/commands/decidim/elections/admin/start_key_ceremony.rb,
decidim-elections/app/commands/decidim/elections/admin/unpublish_election.rb,
decidim-elections/app/commands/decidim/elections/voter/update_vote_status.rb,
decidim-elections/app/queries/decidim/elections/elections_finished_to_end.rb,
decidim-elections/app/queries/decidim/elections/votes/last_vote_for_voter.rb,
decidim-elections/app/commands/decidim/elections/admin/add_user_as_trustee.rb,
decidim-elections/app/controllers/concerns/decidim/elections/has_vote_flow.rb,
decidim-elections/app/controllers/decidim/elections/admin/steps_controller.rb,
decidim-elections/app/controllers/decidim/elections/application_controller.rb,
decidim-elections/app/queries/decidim/elections/admin/votes_for_statistics.rb,
decidim-elections/app/commands/decidim/elections/admin/update_action_status.rb,
decidim-elections/app/models/decidim/elections/trustees_participatory_space.rb,
decidim-elections/app/commands/decidim/elections/trustee_zone/update_trustee.rb,
decidim-elections/app/controllers/decidim/elections/admin/answers_controller.rb,
decidim-elections/app/permissions/decidim/elections/trustee_zone/permissions.rb,
decidim-elections/app/commands/decidim/elections/admin/update_answer_selection.rb,
decidim-elections/app/controllers/decidim/elections/admin/elections_controller.rb,
decidim-elections/app/controllers/decidim/elections/admin/questions_controller.rb,
decidim-elections/app/presenters/decidim/elections/admin_log/election_presenter.rb,
decidim-elections/app/queries/decidim/elections/trustees/by_participatory_space.rb,
decidim-elections/app/controllers/decidim/elections/admin/application_controller.rb,
decidim-elections/app/events/decidim/elections/trustees/notify_new_trustee_event.rb,
decidim-elections/app/forms/decidim/elections/admin/answer_import_proposals_form.rb,
decidim-elections/app/controllers/decidim/elections/admin/feedback_forms_controller.rb,
decidim-elections/app/commands/decidim/elections/admin/import_proposals_to_elections.rb,
decidim-elections/app/controllers/decidim/elections/trustee_zone/trustees_controller.rb,
decidim-elections/app/controllers/decidim/elections/trustee_zone/elections_controller.rb,
decidim-elections/app/forms/decidim/elections/admin/trustees_participatory_space_form.rb,
decidim-elections/app/controllers/decidim/elections/admin/proposals_imports_controller.rb,
decidim-elections/app/controllers/decidim/elections/trustee_zone/application_controller.rb,
decidim-elections/app/commands/decidim/elections/admin/update_trustee_participatory_space.rb,
decidim-elections/app/events/decidim/elections/trustees/notify_trustee_new_election_event.rb,
decidim-elections/app/helpers/decidim/elections/admin/trustees_participatory_spaces_helper.rb,
decidim-elections/app/queries/decidim/elections/trustees/by_participatory_space_trustee_ids.rb,
decidim-elections/app/commands/decidim/elections/admin/remove_trustee_from_participatory_space.rb,
decidim-elections/app/controllers/decidim/elections/admin/trustees_participatory_spaces_controller.rb,
decidim-elections/app/commands/decidim/elections/trustee_zone/update_election_bulletin_board_status.rb,
decidim-elections/lib/decidim/elections/api.rb,
decidim-elections/lib/decidim/elections/admin.rb,
decidim-elections/lib/decidim/api/trustee_type.rb,
decidim-elections/lib/decidim/elections/engine.rb,
decidim-elections/lib/decidim/api/election_type.rb,
decidim-elections/lib/decidim/elections/version.rb,
decidim-elections/lib/decidim/api/elections_type.rb,
decidim-elections/lib/decidim/elections/admin_engine.rb,
decidim-elections/lib/decidim/elections/trustee_zone.rb,
decidim-elections/lib/decidim/api/election_answer_type.rb,
decidim-elections/lib/decidim/api/election_result_type.rb,
decidim-elections/lib/decidim/api/election_question_type.rb,
decidim-elections/lib/decidim/elections/answer_serializer.rb,
decidim-elections/lib/decidim/elections/trustee_zone_engine.rb,
decidim-elections/lib/decidim/api/bulletin_board_closure_type.rb

Overview

This holds the decidim-meetings version.

Defined Under Namespace

Modules: Admin, AdminLog, ApplicationHelper, ElectionCellsHelper, ElectionsTypeHelper, HasVoteFlow, Orderable, TrusteeZone, Trustees, Voter, Votes, VotesHelper Classes: Action, AdminEngine, Answer, AnswerSerializer, ApplicationController, ApplicationRecord, BulletinBoardClosure, BulletinBoardClosureType, CurrentUserVoteFlow, Election, ElectionAnswerType, ElectionCell, ElectionMCell, ElectionPresenter, ElectionPreviewCell, ElectionPublishedEvent, ElectionQuestionType, ElectionResultType, ElectionResultsCell, ElectionSearch, ElectionType, ElectionVoteCtaCell, ElectionsController, ElectionsFinishedToEnd, ElectionsReadyToStart, ElectionsTrustee, ElectionsType, Engine, FeedbacksController, FilteredElections, Permissions, Question, RemainingTimeCalloutCell, Result, Trustee, TrusteePresenter, TrusteeType, TrusteeZoneEngine, TrusteesParticipatorySpace, Vote, VoteAcceptedMailer, VoteFlow, VotesController, VotingStepNavigationCell

Class Method Summary collapse

Class Method Details

.bulletin_boardObject


25
26
27
# File 'decidim-elections/lib/decidim/elections.rb', line 25

def self.bulletin_board
  @bulletin_board ||= Decidim::BulletinBoard::Client.new
end

.versionObject


6
7
8
# File 'decidim-elections/lib/decidim/elections/version.rb', line 6

def self.version
  "0.25.0.dev"
end