Sha256: feaaafd35ca4affbea197f9c3695ca41499e1545fda48a8275c06cef84b91ffa

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 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
          EntityBuilders::IssueBuilder.new(actions, resources, net)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab-triage-0.14.0 lib/gitlab/triage/policies/rule_policy.rb