Method: ActionController::HttpAuthentication::Token#rewrite_param_values

Defined in:
lib/action_controller/metal/http_authentication.rb

#rewrite_param_values(array_params) ⇒ Object

This removes the ‘“` characters wrapping the value.



512
513
514
# File 'lib/action_controller/metal/http_authentication.rb', line 512

def rewrite_param_values(array_params)
  array_params.each { |param| (param[1] || +"").gsub! %r/^"|"$/, "" }
end