Sha256: f60f8f6c6149ade8a91498c4d81c6b879c743b08daf9565f08a9f6630777eff1

Contents?: true

Size: 392 Bytes

Versions: 7

Compression:

Stored size: 392 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}"
        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/base_query_param_builder.rb
gitlab-triage-0.11.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.10.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.9.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.8.1 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.8.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb
gitlab-triage-0.7.0 lib/gitlab/triage/api_query_builders/base_query_param_builder.rb