Sha256: e5cc8ae32babda8ce61d84086b99cb397da781477151340bc9b74f23af82a650
Contents?: true
Size: 371 Bytes
Versions: 20
Compression:
Stored size: 371 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings # This query class filters all votings given an organization. class OrganizationVotings < Decidim::Query def initialize(organization) @organization = organization end def query Decidim::Votings::Voting.where(organization: @organization) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems