Exception: HaveAPI::Client::Authentication::AuthenticationFailed

Inherits:
Exception
  • Object
show all
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

Constructor Details

#initialize(msg) ⇒ AuthenticationFailed

Returns a new instance of AuthenticationFailed.



8
9
10
# File 'lib/haveapi/client/authentication/base.rb', line 8

def initialize(msg)
  @msg = msg
end

Instance Method Details

#messageObject



12
13
14
# File 'lib/haveapi/client/authentication/base.rb', line 12

def message
  @msg
end