Sha256: 7526bb18bc5a355d00d7448f9a1546f7f4db098b805b159b7704b5443c36594a
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true module Decidim module ActionDelegator class SettingDelegations < Decidim::Query def initialize(setting) @setting = setting end def query Delegation.where(setting: setting) end private attr_reader :setting end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-action_delegator-0.8.1 | app/queries/decidim/action_delegator/setting_delegations.rb |