Exception: Hyperdrive::Errors::Unauthorized
- Defined in:
- lib/hyperdrive/errors/unauthorized.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize ⇒ Unauthorized
constructor
A new instance of Unauthorized.
Constructor Details
#initialize ⇒ Unauthorized
Returns a new instance of Unauthorized.
4 5 6 7 |
# File 'lib/hyperdrive/errors/unauthorized.rb', line 4 def initialize @message = 'The request requires user authentication.' @http_status_code = 401 end |