Class: Datadog::Core::Transport::Negotiation::Transport
- Inherits:
-
Object
- Object
- Datadog::Core::Transport::Negotiation::Transport
- Defined in:
- lib/datadog/core/transport/negotiation.rb
Overview
Negotiation transport
Instance Attribute Summary collapse
-
#apis ⇒ Object
readonly
Returns the value of attribute apis.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#current_api_id ⇒ Object
readonly
Returns the value of attribute current_api_id.
-
#default_api ⇒ Object
readonly
Returns the value of attribute default_api.
Instance Method Summary collapse
- #current_api ⇒ Object
-
#initialize(apis, default_api) ⇒ Transport
constructor
A new instance of Transport.
- #send_info ⇒ Object
Constructor Details
Instance Attribute Details
#apis ⇒ Object (readonly)
Returns the value of attribute apis.
39 40 41 |
# File 'lib/datadog/core/transport/negotiation.rb', line 39 def apis @apis end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
39 40 41 |
# File 'lib/datadog/core/transport/negotiation.rb', line 39 def client @client end |
#current_api_id ⇒ Object (readonly)
Returns the value of attribute current_api_id.
39 40 41 |
# File 'lib/datadog/core/transport/negotiation.rb', line 39 def current_api_id @current_api_id end |
#default_api ⇒ Object (readonly)
Returns the value of attribute default_api.
39 40 41 |
# File 'lib/datadog/core/transport/negotiation.rb', line 39 def default_api @default_api end |