Method: Atatus::Metadata::ServiceInfo::Versioned#initialize

Defined in:
lib/atatus/metadata/service_info.rb

#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