Sha256: bf1042098467aa9119360246fffdbe456c960de970b1db0b258e1c19509c4ca8
Contents?: true
Size: 874 Bytes
Versions: 19
Compression:
Stored size: 874 Bytes
Contents
# frozen_string_literal: true require_relative '../../utils/hash' module Datadog module Core module Telemetry module V1 # Describes attributes for products object class Product using Core::Utils::Hash::Refinement attr_reader \ :appsec, :profiler # @param appsec [Telemetry::V1::AppSec] Holds custom information about the appsec product # @param profiler [Telemetry::V1::Profiler] Holds custom information about the profiler product def initialize(appsec: nil, profiler: nil) @appsec = appsec @profiler = profiler end def to_h hash = { appsec: @appsec, profiler: @profiler } hash.compact! hash end end end end end end
Version data entries
19 entries across 19 versions & 2 rubygems