Class: Decidim::Votings::OrganizationVotings
- Inherits:
-
Query
- Object
- Query
- Decidim::Votings::OrganizationVotings
- Defined in:
- app/queries/decidim/votings/organization_votings.rb
Overview
This query class filters all votings given an organization.
Instance Method Summary collapse
-
#initialize(organization) ⇒ OrganizationVotings
constructor
A new instance of OrganizationVotings.
- #query ⇒ Object
Constructor Details
#initialize(organization) ⇒ OrganizationVotings
Returns a new instance of OrganizationVotings.
7 8 9 |
# File 'app/queries/decidim/votings/organization_votings.rb', line 7 def initialize(organization) @organization = organization end |