Sha256: deb0d86cb62469f467ba753b0ff8a33a24c9220ceaacff69874d092405acc668
Contents?: true
Size: 368 Bytes
Versions: 25
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings # This query selects the promoted votings class OrganizationPromotedVotings < Rectify::Query def initialize(organization) @organization = organization end def query Decidim::Votings::Voting.where(organization: @organization).promoted end end end end
Version data entries
25 entries across 25 versions & 1 rubygems