Sha256: d8fb7f8c1798ea268638c658ae334d4c7f8ced5e03f40e367690e3746fa6d013
Contents?: true
Size: 675 Bytes
Versions: 31
Compression:
Stored size: 675 Bytes
Contents
module Datadog module Core module Telemetry module V1 # Describes attributes for additional payload or configuration object class Configuration ERROR_NIL_NAME_MESSAGE = ':name must not be nil'.freeze attr_reader \ :name, :value # @param name [String] Configuration/additional payload attribute name # @param value [String, Integer, Boolean] Corresponding value def initialize(name:, value: nil) raise ArgumentError, ERROR_NIL_NAME_MESSAGE if name.nil? @name = name @value = value end end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems