Class: StackifyRubyAPM::Context Private
- Inherits:
-
Object
- Object
- StackifyRubyAPM::Context
- Includes:
- NaivelyHashable
- Defined in:
- lib/stackify_apm/context.rb,
lib/stackify_apm/context/request.rb,
lib/stackify_apm/context/response.rb,
lib/stackify_apm/context/request/url.rb,
lib/stackify_apm/context/request/socket.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Instance Attribute Summary collapse
- #custom ⇒ Object readonly private
- #request ⇒ Object private
- #response ⇒ Object private
- #tags ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize ⇒ Context
constructor
private
A new instance of Context.
Methods included from NaivelyHashable
Constructor Details
#initialize ⇒ Context
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Context.
18 19 20 21 |
# File 'lib/stackify_apm/context.rb', line 18 def initialize @custom = {} @tags = {} end |
Instance Attribute Details
#custom ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/stackify_apm/context.rb', line 16 def custom @custom end |
#request ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/context.rb', line 15 def request @request end |
#response ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'lib/stackify_apm/context.rb', line 15 def response @response end |
#tags ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/stackify_apm/context.rb', line 16 def @tags end |