Sha256: 5fe1619aef0551caa86b02fdbf272b78e29071a8e7dfc187b6460f0595f550b7

Contents?: true

Size: 398 Bytes

Versions: 30

Compression:

Stored size: 398 Bytes

Contents

module Gitlab
  module Triage
    module APIQueryBuilders
      class BaseQueryParamBuilder
        attr_reader :param_name, :param_contents

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

        def build_param
          "&#{param_name}=#{param_content.strip}"
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gitlab-triage-1.1.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.1.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.0.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.0.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.17.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.16.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.15.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.14.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.14.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.13.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb