lib/secure_headers/headers/clear_site_data.rb
def make_header(config = nil, user_agent = nil)
        case config
        when nil, OPT_OUT, []
          # noop
        when Array
          [HEADER_NAME, make_header_value(config)]
        when true
          [HEADER_NAME, make_header_value(ALL_TYPES)]
        end
      end
# Public: make an Clear-Site-Data header name, value pair
#
# Returns nil if not configured, returns header name and value if configured.
make an Clear-Site-Data header name, value pair
Returns nil if not configured, returns header name and value if configured.
make an Clear - Site - Data header name value pair Returns nil if not configured returns header name and value if configured .
def make_header(config = nil, user_agent = nil)
        case config
        when nil, OPT_OUT, []
        when Array
          [HEADER_NAME, make_header_value(config)]
        when true
          [HEADER_NAME, make_header_value(ALL_TYPES)]
        end
      end
def make_header ( config = nil , user_agent = nil ) case config when nil , OPT_OUT , [ ] when Array [ HEADER_NAME , make_header_value ( config ) ] when true [ HEADER_NAME , make_header_value ( ALL_TYPES ) ] end end
Public: make an Clear-Site-Data header name, value pair
Returns nil if not configured, returns header name and value if configured.
Public : make an Clear - Site - Data header name value pair Returns nil if not configured returns header name and value if configured .
# noop
config
user_agent