Class: Atatus::Metadata::ServiceInfo::Versioned Private

Inherits:
Object
  • Object
show all
Defined in:
lib/atatus/metadata/service_info.rb

Overview

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.

API:

  • private

Direct Known Subclasses

Agent, Framework, Language, Runtime

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

API:

  • private



26
27
28
29
# File 'lib/atatus/metadata/service_info.rb', line 26

def initialize(name: nil, version: nil)
  @name = name
  @version = version
end

Instance Attribute Details

#nameObject (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.

API:

  • private



31
32
33
# File 'lib/atatus/metadata/service_info.rb', line 31

def name
  @name
end

#versionObject (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.

API:

  • private



31
32
33
# File 'lib/atatus/metadata/service_info.rb', line 31

def version
  @version
end