Exception: EvolutionApi::AuthorizationError

Inherits:
Error
  • Object
show all
Defined in:
lib/evolution_api/errors.rb

Overview

Erro de autorização

Instance Attribute Summary

Attributes inherited from Error

#error_code, #response, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Acesso negado', response = nil) ⇒ AuthorizationError

Returns a new instance of AuthorizationError.



25
26
27
# File 'lib/evolution_api/errors.rb', line 25

def initialize(message = 'Acesso negado', response = nil)
  super(message, response, 403)
end