smartystreets_ruby_sdk 5.16.0 → 5.16.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c629c1218193db7dd091c494a9d3e959b042840048dd8ca59e6edb2611cc8d97
|
4
|
+
data.tar.gz: bc8b94aa6c5ca3260369b2c316c44bac034716130356ca72bb2d45e3aa775e55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce8939abf1b6e7ce1f873977f05571340d926770a525ee35bae45ca7c6e177f715063485fdf67ebf9b57e3d5728f29d6464bc88832178492948b8493afb1dd1d
|
7
|
+
data.tar.gz: 15ba960c2716f58bf035c76d9065e6928920935c16dbbe5bda7dbf550cf27af7c8c3fc80bac060fed0765e1e7681dc67d7340e764bab017bcfe92ac785f303bc
|
@@ -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.
|
37
|
-
lookup.
|
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"
|
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.
|
4
|
+
version: 5.16.1
|
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-
|
11
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|