Exception: EvolutionApi::AuthenticationError
- Defined in:
- lib/evolution_api/errors.rb
Overview
Erro de autenticação
Instance Attribute Summary
Attributes inherited from Error
#error_code, #response, #status_code
Instance Method Summary collapse
-
#initialize(message = 'Erro de autenticação', response = nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = 'Erro de autenticação', response = nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
18 19 20 |
# File 'lib/evolution_api/errors.rb', line 18 def initialize( = 'Erro de autenticação', response = nil) super(, response, 401) end |