Class: Decidim::Votings::OrganizationPromotedVotings
- Inherits:
-
Query
- Object
- Query
- Decidim::Votings::OrganizationPromotedVotings
- Defined in:
- 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
Constructor Details
#initialize(organization) ⇒ OrganizationPromotedVotings
Returns a new instance of OrganizationPromotedVotings.
7 8 9 |
# File 'app/queries/decidim/votings/organization_promoted_votings.rb', line 7 def initialize(organization) @organization = organization end |