Module: Stable::Paths

Defined in:
lib/stable/paths.rb

Class Method Summary collapse

Class Method Details

.apps_fileObject



21
22
23
# File 'lib/stable/paths.rb', line 21

def self.apps_file
  File.join(root, 'apps.yml')
end

.caddy_dirObject



9
10
11
# File 'lib/stable/paths.rb', line 9

def self.caddy_dir
  root
end

.caddyfileObject



13
14
15
# File 'lib/stable/paths.rb', line 13

def self.caddyfile
  File.join(caddy_dir, 'Caddyfile')
end

.certs_dirObject



17
18
19
# File 'lib/stable/paths.rb', line 17

def self.certs_dir
  File.join(root, 'certs')
end

.rootObject



5
6
7
# File 'lib/stable/paths.rb', line 5

def self.root
  File.expand_path('~/StableCaddy')
end