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.14.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.14.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.13.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.12.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.11.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.10.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.10.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.9.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.8.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.7.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.7.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.6.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.6.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.5.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.5.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.4.2 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.4.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.4.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.3.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-1.2.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb