Class: PoiseApplicationPython::Resources::Gunicorn::Resource

Inherits:
Chef::Resource
  • Object
show all
Includes:
ServiceMixin
Defined in:
lib/poise_application_python/resources/gunicorn.rb

Overview

Since:

  • 4.0.0

Instance Method Summary collapse

Instance Method Details

#port(val)

This method returns an undefined value.

Helper to set #bind with just a port number.

Parameters:

  • val (String, Integer)

    Port number to use.

Since:

  • 4.0.0



45
46
47
# File 'lib/poise_application_python/resources/gunicorn.rb', line 45

def port(val)
  bind("0.0.0.0:#{val}")
end