Class: Napa::Authentication
- Inherits:
-
Object
- Object
- Napa::Authentication
- Defined in:
- lib/napa/authentication.rb
Class Method Summary collapse
Class Method Details
.password_header ⇒ Object
3 4 5 6 |
# File 'lib/napa/authentication.rb', line 3 def self.password_header raise 'header_password_not_configured' unless ENV['HEADER_PASSWORD'] { 'Password' => ENV['HEADER_PASSWORD'] } end |