Class: Proxyneitor::Base

Inherits:
Object
  • Object
show all
Includes:
Builders
Defined in:
lib/proxyneitor/base.rb

Instance Method Summary collapse

Methods included from Builders

#app_dir, #app_file_url, #create, #install, #list, #load_nginx_folder, #remove, #remove_folder, #render_template, #restart_nginx, #ssl_folder, #use_ssl?

Constructor Details

#initialize(app = nil) ⇒ Base

Returns a new instance of Base.



11
12
13
14
15
# File 'lib/proxyneitor/base.rb', line 11

def initialize(app = nil)
  @root = File.join(ENV['HOME'],'Proxies')
  @os = Gem::Platform.local.os
  @app = app 
end