method
    
    authentication_request
 
  authentication_request(controller, realm)
  public
  
    Hide source    
    
      
  
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 110 def authentication_request(controller, realm) controller.headers["WWW-Authenticate"] = %(Basic realm="#{realm.gsub(/"/, "")}") controller.response_body = "HTTP Basic: Access denied.\n" controller.status = 401 end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   = private
 = private = protected
 = protected
  