Sha256: 56d0f689de136734240ea419e5f08c5beaa90a6873610755773b04f67d9f74de
Contents?: true
Size: 508 Bytes
Versions: 7
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Decidim module Elections # The data store for tracking asynchronous Actions done in the Bulletin Board from the Decidim::Elections component. class Action < ApplicationRecord belongs_to :election, foreign_key: "decidim_elections_election_id", class_name: "Decidim::Elections::Election" enum status: [:pending, :accepted, :rejected] enum action: [:start_key_ceremony, :start_vote, :end_vote, :start_tally, :publish_results] end end end
Version data entries
7 entries across 7 versions & 1 rubygems