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) ⇒ Capabilities
constructor
A new instance of Capabilities.
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_capabilities ⇒ Object (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 |
#capabilities ⇒ Object (readonly)
Returns the value of attribute capabilities.
12 13 14 |
# File 'lib/datadog/core/remote/client/capabilities.rb', line 12 def capabilities @capabilities end |
#products ⇒ Object (readonly)
Returns the value of attribute products.
12 13 14 |
# File 'lib/datadog/core/remote/client/capabilities.rb', line 12 def products @products end |
#receivers ⇒ Object (readonly)
Returns the value of attribute receivers.
12 13 14 |
# File 'lib/datadog/core/remote/client/capabilities.rb', line 12 def receivers @receivers end |