SecureHeaders::Header
# File lib/secure_headers/headers/x_download_options.rb, line 10 def initialize(config = nil) @config = config validate_config unless @config.nil? end
# File lib/secure_headers/headers/x_download_options.rb, line 15 def name XDO_HEADER_NAME end
# File lib/secure_headers/headers/x_download_options.rb, line 19 def value case @config when NilClass DEFAULT_VALUE when String @config else @config[:value] end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.