team-telnyx / telnyx-ruby

Telnyx API Ruby Client
https://developers.telnyx.com/docs/api/v2/overview
MIT License
24 stars 17 forks source link

Raise proactively when `id` is `nil`. #16

Closed yasyf closed 4 years ago

yasyf commented 4 years ago

This ends up throwing when you call CGI.escape(nil) anyway. This way, the error is much more helpful.