riboseinc / digicert

Ruby bindings for the Digicert Services API
https://www.digicert.com/services/v2/documentation
MIT License
8 stars 10 forks source link

Add response body with the raised errors #106

Closed abunashir closed 7 years ago

abunashir commented 7 years ago

Currently we are only raising an error for any invalid response, but it is not that helpful sometime as we can't exactly see what is the response we got from API.

This commit changes this to support showing the response body, and it also parse the response body so the error instance will have the error type with proper message.

abunashir commented 7 years ago

Added #97!