class Gitlab::Triage::GraphqlQueries::QueryParamBuilders::LabelsParamBuilder
Public Class Methods
new(param_name, labels, negated: false)
click to toggle source
Calls superclass method
Gitlab::Triage::GraphqlQueries::QueryParamBuilders::BaseParamBuilder::new
# File lib/gitlab/triage/graphql_queries/query_param_builders/labels_param_builder.rb, line 9 def initialize(param_name, labels, negated: false) label_param_content = labels.map { |label| Utils.graphql_quote(label) }.join(', ').then { |content| "[#{content}]" } super(param_name, label_param_content, with_quotes: false, negated: negated) end