Class: Decidim::Assemblies::OrganizationAssemblies
- Defined in:
- decidim-assemblies/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
Methods inherited from Query
#cached_query, #each, #eager?, #exists?, merge, #none?, #relation?, #|
Constructor Details
#initialize(organization) ⇒ OrganizationAssemblies
Returns a new instance of OrganizationAssemblies.
7 8 9 |
# File 'decidim-assemblies/app/queries/decidim/assemblies/organization_assemblies.rb', line 7 def initialize(organization) @organization = organization end |