Class: Decidim::Elections::Admin::PendingActions
- Inherits:
-
Query
- Object
- Query
- Decidim::Elections::Admin::PendingActions
- Defined in:
- app/queries/decidim/elections/admin/pending_actions.rb
Overview
A class used to find actions 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/admin/pending_actions.rb', line 9 def self.for new.query end |