lib/secure_headers/headers/referrer_policy.rb
def make_header(config = nil, user_agent = nil)
        return if config == OPT_OUT
        config ||= DEFAULT_VALUE
        [HEADER_NAME, Array(config).join(", ")]
      end
# Public: generate an Referrer Policy header.
#
# Returns a default header if no configuration is provided, or a
# header name and value based on the config.
generate an Referrer Policy header.
Returns a default header if no configuration is provided, or a
header name and value based on the config.
generate an Referrer Policy header . Returns a default header if no configuration is provided or a header name and value based on the config .
def make_header(config = nil, user_agent = nil)
        return if config == OPT_OUT
        config ||= DEFAULT_VALUE
        [HEADER_NAME, Array(config).join(", ")]
      end
def make_header ( config = nil , user_agent = nil ) return if config == OPT_OUT config ||= DEFAULT_VALUE [ HEADER_NAME , Array ( config ) . join ( ", " ) ] end
Public: generate an Referrer Policy header.
Public : generate an Referrer Policy header .
config
user_agent