From 2f3489c546831386609b567f40214bb4d05227fe Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Sat, 24 Dec 2016 23:22:06 -0500
Subject: [PATCH] Update street address API URL.

Value didn't match docs at https://smartystreets.com/docs/cloud/us-street-api
---
 lib/geocoder/lookups/smarty_streets.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/geocoder/lookups/smarty_streets.rb b/lib/geocoder/lookups/smarty_streets.rb
index fa72318c..5d092cb9 100644
--- a/lib/geocoder/lookups/smarty_streets.rb
+++ b/lib/geocoder/lookups/smarty_streets.rb
@@ -15,7 +15,7 @@ module Geocoder::Lookup
       if zipcode_only?(query)
         "#{protocol}://us-zipcode.api.smartystreets.com/lookup?#{url_query_string(query)}"
       else
-        "#{protocol}://api.smartystreets.com/street-address?#{url_query_string(query)}"
+        "#{protocol}://us-street.api.smartystreets.com/street-address?#{url_query_string(query)}"
       end
     end
 
-- 
GitLab