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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbf8bd08c15e82a7137849b38030105c5072d95a9b8a34a6bc2ffdd2494cda58
|
4
|
+
data.tar.gz: 03feca83691d61bc6bca6c11e20026c2be42ffa3d3dc09afc039d425569d1013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.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-
|
11
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|