Exception: Conexa::NotFound

Inherits:
ResponseError show all
Defined in:
lib/conexa/errors.rb

Instance Attribute Summary collapse

Attributes inherited from ResponseError

#api_response, #error, #request_params

Instance Method Summary collapse

Methods inherited from ResponseError

#api_error_codes, #api_error_messages, #api_errors

Constructor Details

#initialize(response, request_params, error) ⇒ NotFound

Returns a new instance of NotFound.



90
91
92
93
# File 'lib/conexa/errors.rb', line 90

def initialize(response, request_params, error)
  @response = response
  super request_params, error, response&.dig('message'), response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



89
90
91
# File 'lib/conexa/errors.rb', line 89

def response
  @response
end