module CfnVpn

Constants

CHANGE_SET_VERSION
VERSION

Public Class Methods

cfnvpn_path() click to toggle source

Returns the filepath to the location CfnVpn will use for storage. Used for certificate generation as well as the download and upload location. Can be overridden by specifying a value for the ENV variable 'CFNVPN_PATH'.

@return [String]

# File lib/cfnvpn/globals.rb, line 11
def cfnvpn_path
  @cfnvpn_path ||= File.expand_path(ENV["CFNVPN_PATH"] || "~/.cfnvpn")
end