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( = {}) @application = [:application] @socket = [:socket] || Heroku::Forward::Utils::Dir.tmp_filename('unicorn-', '.sock') @env = [:env] || 'development' @config_file = [:config_file] end |