class NononoSender::Http::App
Public Instance Methods
protected!()
click to toggle source
# File lib/nonono_sender/http.rb, line 16 def protected! unless authorized? response['WWW-Authenticate'] = %(Basic realm="Restricted Area") throw(:halt, [401, "Not authorized\n"]) end end