Skip to content

Commit a7e9423

Browse files
committed
Remove the old us-autocomplete api. This no longer exists.
1 parent e55debf commit a7e9423

File tree

10 files changed

+1
-252
lines changed

10 files changed

+1
-252
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.idea
33
coverage
44
*.gem
5+
/smartystreets-ruby-sdk.iml

lib/smartystreets_ruby_sdk.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
require 'smartystreets_ruby_sdk/version'
22
require 'smartystreets_ruby_sdk/logger'
33
require 'smartystreets_ruby_sdk/sleeper'
4-
54
require 'smartystreets_ruby_sdk/batch'
65
require 'smartystreets_ruby_sdk/client_builder'
76
require 'smartystreets_ruby_sdk/custom_header_sender'
@@ -20,11 +19,9 @@
2019
require 'smartystreets_ruby_sdk/static_credentials'
2120
require 'smartystreets_ruby_sdk/status_code_sender'
2221
require 'smartystreets_ruby_sdk/url_prefix_sender'
23-
2422
require 'smartystreets_ruby_sdk/us_extract'
2523
require 'smartystreets_ruby_sdk/us_street'
2624
require 'smartystreets_ruby_sdk/us_zipcode'
27-
require 'smartystreets_ruby_sdk/us_autocomplete'
2825
require 'smartystreets_ruby_sdk/us_autocomplete_pro'
2926
require 'smartystreets_ruby_sdk/international_street'
3027
require 'smartystreets_ruby_sdk/international_autocomplete'

lib/smartystreets_ruby_sdk/client_builder.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
require_relative 'us_street/client'
1313
require_relative 'us_zipcode/client'
1414
require_relative 'us_extract/client'
15-
require_relative 'us_autocomplete/client'
1615
require_relative 'international_street/client'
1716
require_relative 'international_autocomplete/client'
1817
require_relative 'us_reverse_geo/client'
@@ -26,7 +25,6 @@ module SmartyStreets
2625
class ClientBuilder
2726
INTERNATIONAL_STREET_API_URL = 'https://international-street.api.smarty.com/verify'.freeze
2827
INTERNATIONAL_AUTOCOMPLETE_API_URL = "https://international-autocomplete.api.smarty.com/v2/lookup".freeze
29-
US_AUTOCOMPLETE_API_URL = 'https://us-autocomplete.api.smarty.com/suggest'.freeze
3028
US_AUTOCOMPLETE_PRO_API_URL = 'https://us-autocomplete-pro.api.smarty.com/lookup'.freeze
3129
US_EXTRACT_API_URL = 'https://us-extract.api.smarty.com/'.freeze
3230
US_STREET_API_URL = 'https://us-street.api.smarty.com/street-address'.freeze
@@ -134,11 +132,6 @@ def build_international_autocomplete_api_client
134132
InternationalAutocomplete::Client.new(build_sender, @serializer)
135133
end
136134

137-
def build_us_autocomplete_api_client # Deprecated
138-
ensure_url_prefix_not_null(US_AUTOCOMPLETE_API_URL)
139-
USAutocomplete::Client.new(build_sender, @serializer)
140-
end
141-
142135
def build_us_autocomplete_pro_api_client
143136
ensure_url_prefix_not_null(US_AUTOCOMPLETE_PRO_API_URL)
144137
USAutocompletePro::Client.new(build_sender, @serializer)

lib/smartystreets_ruby_sdk/us_autocomplete.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/smartystreets_ruby_sdk/us_autocomplete/client.rb

Lines changed: 0 additions & 72 deletions
This file was deleted.

lib/smartystreets_ruby_sdk/us_autocomplete/geolocation_type.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/smartystreets_ruby_sdk/us_autocomplete/lookup.rb

Lines changed: 0 additions & 38 deletions
This file was deleted.

lib/smartystreets_ruby_sdk/us_autocomplete/suggestion.rb

Lines changed: 0 additions & 16 deletions
This file was deleted.

test/smartystreets_ruby_sdk/us_autocomplete/test_autocomplete_client.rb

Lines changed: 0 additions & 82 deletions
This file was deleted.

test/smartystreets_ruby_sdk/us_autocomplete/test_suggestion.rb

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)