Sha256: 7b12bc0d27fb1fb1b9885cdf0bba69b3d49020a5cf8092c432a57726506af725

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

# Copyright The OpenTelemetry Authors
#
# SPDX-License-Identifier: Apache-2.0

module OpenTelemetry
  module Baggage
    # No op implementation of Baggage::Builder
    class NoopBuilder
      def set_value(key, value, metadata: nil); end

      def remove_value(key); end

      def clear; end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opentelemetry-api-1.0.0.rc1 lib/opentelemetry/baggage/noop_builder.rb
opentelemetry-api-0.17.0 lib/opentelemetry/baggage/noop_builder.rb