Exception: Unauthorized
- Inherits:
-
JSONError
- Object
- Exception
- JSONError
- Unauthorized
- Defined in:
- lib/ldapmodel/errors.rb
Instance Attribute Summary
Attributes inherited from JSONError
Instance Method Summary (collapse)
Methods inherited from JSONError
#as_json, #initialize, #to_json
Constructor Details
This class inherits a constructor from JSONError
Instance Method Details
- (Object) headers
136 137 138 |
# File 'lib/ldapmodel/errors.rb', line 136 def headers super.merge "WWW-Authenticate" => "Negotiate" end |
- (Object) http_code
132 133 134 |
# File 'lib/ldapmodel/errors.rb', line 132 def http_code 401 end |