Sha256: 640168b575826dac9e7c97d2ae40db77e107b6a1f288a426a0de77ec28dd6f4e

Contents?: true

Size: 416 Bytes

Versions: 16

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

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

module OpenTelemetry
  # OpenTelemetry Baggage Implementation
  module Baggage
    # Read-only representation of a baggage entry
    class Entry
      attr_reader :value, :metadata

      def initialize(value, metadata = nil)
        @value = value
        @metadata = metadata
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
opentelemetry-api-1.4.0 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.3.0 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.2.5 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.2.4 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.2.3 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.2.2 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.2.1 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.2.0 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.1.0 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.0.2 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.0.1 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.0.0 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.0.0.rc3 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.0.0.rc2 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-1.0.0.rc1 lib/opentelemetry/baggage/entry.rb
opentelemetry-api-0.17.0 lib/opentelemetry/baggage/entry.rb