lib/puppet/provider/sensu_api_config/json.rb
# Public: Retrieve the HTTPS (SSL) port number that the API is configured to
# listen on. Enterprise only feature.
#
# Returns the String port number.
Retrieve the HTTPS (SSL) port number that the API is configured to
listen on. Enterprise only feature.

Returns the String port number.
Retrieve the HTTPS ( SSL ) port number that the API is configured to listen on . Enterprise only feature . Returns the String port number .
def ssl_port
    if conf['api']['ssl'].is_a? Hash
      conf['api']['ssl']['port']
    end
  end
def ssl_port if conf [ 'api' ] [ 'ssl' ] . is_a? Hash conf [ 'api' ] [ 'ssl' ] [ 'port' ] end end
Public: Retrieve the HTTPS (SSL) port number that the API is configured to
listen on.
Public : Retrieve the HTTPS ( SSL ) port number that the API is configured to listen on .