Class: ElasticAPM::Metadata::ServiceInfo::Versioned Private
- Inherits:
-
Object
- Object
- ElasticAPM::Metadata::ServiceInfo::Versioned
- Defined in:
- lib/elastic_apm/metadata/service_info.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
- #name ⇒ Object readonly private
- #version ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(name: nil, version: nil) ⇒ Versioned
constructor
private
A new instance of Versioned.
Constructor Details
#initialize(name: nil, version: nil) ⇒ Versioned
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 Versioned.
26 27 28 29 |
# File 'lib/elastic_apm/metadata/service_info.rb', line 26 def initialize(name: nil, version: nil) @name = name @version = version end |
Instance Attribute Details
#name ⇒ 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.
31 32 33 |
# File 'lib/elastic_apm/metadata/service_info.rb', line 31 def name @name end |
#version ⇒ 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.
31 32 33 |
# File 'lib/elastic_apm/metadata/service_info.rb', line 31 def version @version end |