riboseinc / digicert

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

Fix empty duplicate certificate issue #139

Closed abunashir closed 6 years ago

abunashir commented 6 years ago

When there are no duplicate certificate for any request, then the certificate finder throws an error. But it might be more useful to return nil if there are duplicate certificate for a request.

This commit takes that into consideration, and return nil when there no duplicate certificate for any of the request.

Fixes #136