From 497b197dbdea0146a609f3cf16f0f3ce81f69786 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Wed, 17 Sep 2014 19:07:44 -0400 Subject: [PATCH] Require both key parts. (id only is for JS) See: http://smartystreets.com/kb/liveaddress-api/rest-endpoint --- 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 118a7f0b..db48738f 100644 --- a/lib/geocoder/lookups/smarty_streets.rb +++ b/lib/geocoder/lookups/smarty_streets.rb @@ -8,7 +8,7 @@ module Geocoder::Lookup end def required_api_key_parts - %w(auth-token) + %w(auti-id auth-token) end def query_url(query) -- GitLab