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) ⇒ Capabilities

Returns a new instance of Capabilities.



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

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

  register(settings)

  @base64_capabilities = capabilities_to_base64
end

Instance Attribute Details

#base64_capabilitiesObject (readonly)

Returns the value of attribute base64_capabilities.



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

def base64_capabilities
  @base64_capabilities
end

#capabilitiesObject (readonly)

Returns the value of attribute capabilities.



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

def capabilities
  @capabilities
end

#productsObject (readonly)

Returns the value of attribute products.



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

def products
  @products
end

#receiversObject (readonly)

Returns the value of attribute receivers.



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

def receivers
  @receivers
end