Method: Heroku::Forward::Backends::Unicorn#initialize

Defined in:
lib/heroku/forward/backends/unicorn.rb

#initialize(options = {}) ⇒ Unicorn

Returns a new instance of Unicorn.



9
10
11
12
13
14
# File 'lib/heroku/forward/backends/unicorn.rb', line 9

def initialize(options = {})
  @application = options[:application]
  @socket = options[:socket] || Heroku::Forward::Utils::Dir.tmp_filename('unicorn-', '.sock')
  @env = options[:env] || 'development'
  @config_file = options[:config_file]
end