Exception: HaveAPI::Client::Authentication::AuthenticationFailed
- Inherits:
-
StandardError
- Object
- StandardError
- HaveAPI::Client::Authentication::AuthenticationFailed
- Defined in:
- lib/haveapi/client/authentication/base.rb
Overview
Raise this exception when authentication process fails somewhere outside action execution (in which access forbidden is raised from RestClient).
Instance Method Summary collapse
-
#initialize(msg) ⇒ AuthenticationFailed
constructor
A new instance of AuthenticationFailed.
- #message ⇒ Object
Constructor Details
#initialize(msg) ⇒ AuthenticationFailed
Returns a new instance of AuthenticationFailed.
8 9 10 11 |
# File 'lib/haveapi/client/authentication/base.rb', line 8 def initialize(msg) super @msg = msg end |
Instance Method Details
#message ⇒ Object
13 14 15 |
# File 'lib/haveapi/client/authentication/base.rb', line 13 def @msg end |