Sha256: c486083227a155bd5871950da3075f6a3e371d06b47b18e485db2460aef42b7e
Contents?: true
Size: 574 Bytes
Versions: 14
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true require_relative 'base_policy' require_relative '../entity_builders/issue_builder' module Gitlab module Triage module Policies class RulePolicy < BasePolicy # Build an issue from a single rule policy def build_issue action = actions.fetch(:summarize, {}) EntityBuilders::IssueBuilder.new( type: type, policy_spec: policy_spec, action: action, resources: resources.resources, network: network) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems