Class: ElasticAPM::Span::Context::Http Private
- Inherits:
-
Object
- Object
- ElasticAPM::Span::Context::Http
- Defined in:
- lib/elastic_apm/span/context.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.
Instance Attribute Summary collapse
- #method ⇒ Object private
- #status_code ⇒ Object private
- #url ⇒ Object private
Instance Method Summary collapse
-
#initialize(url: nil, status_code: nil, method: nil) ⇒ Http
constructor
private
A new instance of Http.
Constructor Details
#initialize(url: nil, status_code: nil, method: nil) ⇒ Http
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 Http.
30 31 32 33 34 |
# File 'lib/elastic_apm/span/context.rb', line 30 def initialize(url: nil, status_code: nil, method: nil) @url = url @status_code = status_code @method = method end |
Instance Attribute Details
#method ⇒ 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.
36 37 38 |
# File 'lib/elastic_apm/span/context.rb', line 36 def method @method end |
#status_code ⇒ 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.
36 37 38 |
# File 'lib/elastic_apm/span/context.rb', line 36 def status_code @status_code end |
#url ⇒ 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.
36 37 38 |
# File 'lib/elastic_apm/span/context.rb', line 36 def url @url end |