Class: Datadog::Core::Remote::Client::Capabilities

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/remote/client/capabilities.rb

Overview

Capabilities

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(settings, telemetry) ⇒ Capabilities

Returns a new instance of Capabilities.



15
16
17
18
19
20
21
22
23
24
# File 'lib/datadog/core/remote/client/capabilities.rb', line 15

def initialize(settings, telemetry)
  @capabilities = []
  @products = []
  @receivers = []
  @telemetry = telemetry

  register(settings)

  @base64_capabilities = capabilities_to_base64
end

Instance Attribute Details

#base64_capabilitiesObject (readonly)

Returns the value of attribute base64_capabilities.



13
14
15
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13

def base64_capabilities
  @base64_capabilities
end

#capabilitiesObject (readonly)

Returns the value of attribute capabilities.



13
14
15
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13

def capabilities
  @capabilities
end

#productsObject (readonly)

Returns the value of attribute products.



13
14
15
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13

def products
  @products
end

#receiversObject (readonly)

Returns the value of attribute receivers.



13
14
15
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13

def receivers
  @receivers
end