smartystreets / smartystreets-ruby-sdk

The official client libraries for accessing SmartyStreets APIs from Ruby
https://smartystreets.com/docs/sdk/ruby
Apache License 2.0
23 stars 25 forks source link

Add support for UnprocessableEntityError on 422 responses. #6

Closed dreid closed 7 years ago

dreid commented 7 years ago

Mapping 422 to UnprocessableEntityError seems to have been missing from StatusCodeSender. This PR adds it and a test for it.

MouaYing commented 7 years ago

Thank you for your contribution, @dreid!