Method: Atatus::Config::ServerInfo#version

Defined in:
lib/atatus/config/server_info.rb

#versionObject

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.



41
42
43
44
45
46
# File 'lib/atatus/config/server_info.rb', line 41

def version
  @version ||= begin
    execute
    payload["version"] ? payload["version"].to_s : VERSION_0
  end
end