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