Class: Datadog::Core::Remote::Client::Capabilities
- Inherits:
-
Object
- Object
- Datadog::Core::Remote::Client::Capabilities
- Defined in:
- lib/datadog/core/remote/client/capabilities.rb
Overview
Capabilities
Instance Attribute Summary collapse
-
#base64_capabilities ⇒ Object
readonly
Returns the value of attribute base64_capabilities.
-
#capabilities ⇒ Object
readonly
Returns the value of attribute capabilities.
-
#products ⇒ Object
readonly
Returns the value of attribute products.
-
#receivers ⇒ Object
readonly
Returns the value of attribute receivers.
Instance Method Summary collapse
-
#initialize(settings, telemetry) ⇒ Capabilities
constructor
A new instance of Capabilities.
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_capabilities ⇒ Object (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 |
#capabilities ⇒ Object (readonly)
Returns the value of attribute capabilities.
13 14 15 |
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13 def capabilities @capabilities end |
#products ⇒ Object (readonly)
Returns the value of attribute products.
13 14 15 |
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13 def products @products end |
#receivers ⇒ Object (readonly)
Returns the value of attribute receivers.
13 14 15 |
# File 'lib/datadog/core/remote/client/capabilities.rb', line 13 def receivers @receivers end |