Sha256: 0c05b563a5dc33f9104130800cfb5c7af4f92c3130eb6926e09c4f7cb5a169df

Contents?: true

Size: 533 Bytes

Versions: 31

Compression:

Stored size: 533 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, :report_missing_trustee, :publish_results]
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/models/decidim/elections/action.rb
decidim-elections-0.27.9 app/models/decidim/elections/action.rb
decidim-elections-0.28.3 app/models/decidim/elections/action.rb
decidim-elections-0.27.8 app/models/decidim/elections/action.rb
decidim-elections-0.28.2 app/models/decidim/elections/action.rb
decidim-elections-0.27.7 app/models/decidim/elections/action.rb
decidim-elections-0.28.1 app/models/decidim/elections/action.rb
decidim-elections-0.27.6 app/models/decidim/elections/action.rb
decidim-elections-0.26.10 app/models/decidim/elections/action.rb
decidim-elections-0.26.9 app/models/decidim/elections/action.rb
decidim-elections-0.28.0 app/models/decidim/elections/action.rb
decidim-elections-0.27.5 app/models/decidim/elections/action.rb
decidim-elections-0.28.0.rc5 app/models/decidim/elections/action.rb
decidim-elections-0.28.0.rc4 app/models/decidim/elections/action.rb
decidim-elections-0.26.8 app/models/decidim/elections/action.rb
decidim-elections-0.27.4 app/models/decidim/elections/action.rb
decidim-elections-0.27.3 app/models/decidim/elections/action.rb
decidim-elections-0.26.7 app/models/decidim/elections/action.rb
decidim-elections-0.26.5 app/models/decidim/elections/action.rb
decidim-elections-0.27.2 app/models/decidim/elections/action.rb