Exception: HttpApiClient::Errors::UnprocessableEntity

Inherits:
BaseError
  • Object
show all
Defined in:
lib/http_api_client/errors.rb

Instance Attribute Summary

Attributes inherited from BaseError

#nested_error, #response_body

Instance Method Summary collapse

Methods inherited from BaseError

#initialize, #message

Constructor Details

This class inherits a constructor from HttpApiClient::Errors::BaseError

Instance Method Details

#as_jsonObject



38
39
40
# File 'lib/http_api_client/errors.rb', line 38

def as_json
  Oj.strict_load(response_body)
end