Sha256: f986f10c505323d69b8b5ecda5a6cc7e976712960eaaf0c772bfd8ef387ae999

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

require_relative 'base_query_param_builder'

module Gitlab
  module Triage
    module APIQueryBuilders
      class MultiQueryParamBuilder < BaseQueryParamBuilder
        attr_reader :separator

        def initialize(param_name, param_contents, separator)
          @separator = separator
          super(param_name, param_contents)
        end

        def param_content
          param_contents.join(separator)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gitlab-triage-0.12.0 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb
gitlab-triage-0.11.0 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb
gitlab-triage-0.10.0 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb
gitlab-triage-0.9.0 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb
gitlab-triage-0.8.1 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb
gitlab-triage-0.8.0 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb
gitlab-triage-0.7.0 lib/gitlab/triage/api_query_builders/multi_query_param_builder.rb