Method: Acmesmith::SaveCertificateService#local_version

Defined in:
lib/acmesmith/save_certificate_service.rb

#local_versionObject



35
36
37
38
39
40
41
42
43
# File 'lib/acmesmith/save_certificate_service.rb', line 35

def local_version
  @local_version ||= begin
    if version_file && File.exist?(version_file)
      File.read(version_file).chomp
    else
      nil
    end
  end
end