Sha256: ec68f09ada9dee48e645ed8e1512e398f5a27c037564a70627b0b1f1a5d49e7c
Contents?: true
Size: 464 Bytes
Versions: 25
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true module Decidim module Elections module Votes # A class used to find votes with a pending status class PendingVotes < Rectify::Query # Syntactic sugar to initialize the class and return the queried objects. def self.for new.query end # Finds the votes with pending status def query Decidim::Elections::Vote.pending end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems