Class: Decidim::Votings::OrganizationPromotedVotings
- Defined in:
- decidim-elections/app/queries/decidim/votings/organization_promoted_votings.rb
Overview
This query selects the promoted votings
Instance Method Summary collapse
-
#initialize(organization) ⇒ OrganizationPromotedVotings
constructor
A new instance of OrganizationPromotedVotings.
- #query ⇒ Object
Methods inherited from Query
#cached_query, #each, #eager?, #exists?, merge, #none?, #relation?, #|
Constructor Details
#initialize(organization) ⇒ OrganizationPromotedVotings
Returns a new instance of OrganizationPromotedVotings.
7 8 9 |
# File 'decidim-elections/app/queries/decidim/votings/organization_promoted_votings.rb', line 7 def initialize(organization) @organization = organization end |