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

Unable to set candidates to 1 while using enhanced lookup #32

Closed seand7565 closed 2 years ago

seand7565 commented 2 years ago

Due to this line (from this commit for context) it's impossible to set your candidates to 1 while using enhanced matching.

It looks like the intention of the line is to set candidates to 5 if you're using enhanced matching and are using the default option for candidates in lookups (which is also 1) but there are cases in which you would legitimately want 1 candidate with enhanced matching.

DuncanBeutler commented 2 years ago

This issue has been addressed on version 5.14.7. Thanks for catching that bug!