Class: Rack::PerftoolsProfiler::ReturnPasswordError
- Includes:
- Utils
- Defined in:
- lib/rack/perftools_profiler/return_password_error.rb
Instance Method Summary collapse
Methods included from Utils
Methods inherited from Action
Constructor Details
This class inherits a constructor from Rack::PerftoolsProfiler::Action
Instance Method Details
#response ⇒ Object
6 7 8 9 10 |
# File 'lib/rack/perftools_profiler/return_password_error.rb', line 6 def response [401, {'Content-Type' => 'text/plain'}, ["Profiling is password-protected. Password is incorrect.\nProvide a password using the 'profile' GET param:\nhttp://domain.com/foobar?profile=PASSWORD"]] end |