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.



6
7
8
# File 'lib/haveapi/client/authentication/base.rb', line 6

def initialize(msg)
  @msg = msg
end

Instance Method Details

#messageObject



10
11
12
# File 'lib/haveapi/client/authentication/base.rb', line 10

def message
  @msg
end