issues
search
mrsool
/
zatca
An unofficial Ruby library for generating ZATCA e-invoices, QR Codes, and submitting e-invoices to ZATCA's servers.
MIT License
36
stars
12
forks
source link
Handle HTTPX:ErrorResponses and add Logging
#24
Closed
obahareth
closed
7 months ago
obahareth
commented
7 months ago
Add a new
verbose
option to ZATCA::Client that logs requests and responses when
true
, defaulted to
false
.
When there is an API error, parse HTTPX::ErrorResponse into a hash and return it.
verbose
option to ZATCA::Client that logs requests and responses whentrue
, defaulted tofalse
.