Class: Decidim::Elections::Votes::PendingVotes
- Defined in:
- decidim-elections/app/queries/decidim/elections/votes/pending_votes.rb
Overview
A class used to find votes with a pending status
Class Method Summary collapse
-
.for ⇒ Object
Syntactic sugar to initialize the class and return the queried objects.
Instance Method Summary collapse
-
#query ⇒ Object
Finds the votes with pending status.
Methods inherited from Query
#cached_query, #each, #eager?, #exists?, #initialize, merge, #none?, #relation?, #|
Constructor Details
This class inherits a constructor from Decidim::Query
Class Method Details
.for ⇒ Object
Syntactic sugar to initialize the class and return the queried objects.
9 10 11 |
# File 'decidim-elections/app/queries/decidim/elections/votes/pending_votes.rb', line 9 def self.for new.query end |