smartystreets_ruby_sdk 5.16.0 → 5.16.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3420356d8cdd87a995c6fae44cdfa26549322163bc1ebe767a181aca029280b5
4
- data.tar.gz: 3c63162a19e7abd5841df9ee8699e40b27edcd0d9fe0c1615221f41844e289ce
3
+ metadata.gz: dbf8bd08c15e82a7137849b38030105c5072d95a9b8a34a6bc2ffdd2494cda58
4
+ data.tar.gz: 03feca83691d61bc6bca6c11e20026c2be42ffa3d3dc09afc039d425569d1013
5
5
  SHA512:
6
- metadata.gz: 31df562ca6a0e07e80d90c74bf0713da88c8491dc9112afd76209fcc97f2038cb61af0cbba0bf3ec3f1c23913f4f09c14c8f1fc8d140c392a70f5e3e9ee20dfc
7
- data.tar.gz: 6de7192ed4b3a9f803aa8c7526ed6186bcb34aef24698b65d4665714112464504f9bda7e7caa2be38dffa964c4b8bf888ba3235a7176aefb54323587467ee41c
6
+ metadata.gz: ad7110137f01c8f6a9b708078850d238cd196d37d3d4446eb52b1e91f55999c331e4ef0a89be29788de41966d45497510a5a4dbe05287c81c7f3e7b55a834d23
7
+ data.tar.gz: 7f300f5a79c4a72a64c21db23aa56ef28095788913938ad3466bf34335d059990191f3dfa45ff2a0292fc41392ea2df815d33de1c47b94baf98b0fa784ecab4b
@@ -22,7 +22,7 @@ class InternationalAutocompleteExample
22
22
  # The appropriate license values to be used for your subscriptions
23
23
  # can be found on the Subscriptions page of the account dashboard.
24
24
  # https://www.smartystreets.com/docs/cloud/licensing
25
- client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(['international-autocomplete-cloud'])
25
+ client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(['international-autocomplete-v2-cloud'])
26
26
  .build_international_autocomplete_api_client
27
27
 
28
28
  # Documentation for input fields can be found at:
@@ -33,10 +33,8 @@ class USAutocompleteProExample
33
33
  # https://smartystreets.com/docs/cloud/us-autocomplete-api
34
34
 
35
35
  lookup = Lookup.new('1042 W Center')
36
- lookup.add_state_filter('CO')
37
- lookup.add_state_filter('UT')
38
- lookup.add_city_filter('Denver')
39
- lookup.add_city_filter('Orem')
36
+ lookup.add_city_filter('Denver,Aurora,CO')
37
+ lookup.add_city_filter('Orem,UT')
40
38
  lookup.max_results = 5
41
39
  lookup.prefer_ratio = 3
42
40
  lookup.source = "all"
@@ -1,5 +1,4 @@
1
1
  require_relative './international_autocomplete/lookup'
2
- require_relative './international_autocomplete/international_geolocation_type'
3
2
  require_relative './international_autocomplete/suggestion'
4
3
  require_relative './international_autocomplete/client'
5
4
 
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.16.0' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.16.2' # DO NOT EDIT (this is updated by a build job when a new release is published)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartystreets_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.16.0
4
+ version: 5.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SmartyStreets SDK Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-10 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler