Class: Decidim::Elections::Votes::PendingVotes
- Inherits:
-
Query
- Object
- Query
- Decidim::Elections::Votes::PendingVotes
- Defined in:
- 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.
Class Method Details
.for ⇒ Object
Syntactic sugar to initialize the class and return the queried objects.
9 10 11 |
# File 'app/queries/decidim/elections/votes/pending_votes.rb', line 9 def self.for new.query end |