smartystreets_ruby_sdk 5.10.0 → 5.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/international_example.rb +5 -1
- data/examples/us_autocomplete_pro_example.rb +6 -1
- data/examples/us_reverse_geo_example.rb +5 -1
- data/examples/us_street_multiple_address_example.rb +4 -1
- data/examples/us_street_single_address_example.rb +4 -1
- data/lib/smartystreets_ruby_sdk/us_street/analysis.rb +3 -1
- data/lib/smartystreets_ruby_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df457cd42e87bc1addf658ff0d64ba1a0150861252ac10ae2d5207c4c5311836
|
4
|
+
data.tar.gz: 917654d4567954241f85856f8673a6527343fa5196112c5595f76fc840194527
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9084938032f85260ba05d9fcd2b8e9866662735e637c290571b80309d8946ad2e03f403bff712704a69c352f26786bfaa2abf2a740455fe98cea6af903007c83
|
7
|
+
data.tar.gz: 809a899686525b6d8cfd57e36a8832d0671c90bb4269a92d295e898bb314d9460dd2efafff4e277643382fc857d4540b1578b267692bafb4f60c4a61f2189cc2
|
@@ -14,7 +14,11 @@ class InternationalExample
|
|
14
14
|
# auth_token = ENV['SMARTY_AUTH_TOKEN']
|
15
15
|
|
16
16
|
credentials = SmartyStreets::StaticCredentials.new(auth_id, auth_token)
|
17
|
-
|
17
|
+
|
18
|
+
# The appropriate license values to be used for your subscriptions
|
19
|
+
# can be found on the Subscriptions page of the account dashboard.
|
20
|
+
# https://www.smartystreets.com/docs/cloud/licensing
|
21
|
+
client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(%w('international-global-plus-cloud'))
|
18
22
|
.build_international_street_api_client
|
19
23
|
|
20
24
|
# Documentation for input fields can be found at:
|
@@ -14,7 +14,12 @@ class USAutocompleteProExample
|
|
14
14
|
referer = ENV['SMARTY_AUTH_REFERER']
|
15
15
|
|
16
16
|
credentials = SmartyStreets::SharedCredentials.new(key, referer)
|
17
|
-
|
17
|
+
|
18
|
+
# The appropriate license values to be used for your subscriptions
|
19
|
+
# can be found on the Subscriptions page of the account dashboard.
|
20
|
+
# https://www.smartystreets.com/docs/cloud/licensing
|
21
|
+
client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(%w('us-autocomplete-pro-cloud'))
|
22
|
+
.build_us_autocomplete_pro_api_client
|
18
23
|
|
19
24
|
# Documentation for input fields can be found at:
|
20
25
|
# https://smartystreets.com/docs/cloud/us-autocomplete-api
|
@@ -14,7 +14,11 @@ class USReverseGeoExample
|
|
14
14
|
# auth_token = ENV['SMARTY_AUTH_TOKEN']
|
15
15
|
|
16
16
|
credentials = SmartyStreets::StaticCredentials.new(auth_id, auth_token)
|
17
|
-
|
17
|
+
|
18
|
+
# The appropriate license values to be used for your subscriptions
|
19
|
+
# can be found on the Subscriptions page of the account dashboard.
|
20
|
+
# https://www.smartystreets.com/docs/cloud/licensing
|
21
|
+
client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(%w('us-reverse-geocoding-cloud'))
|
18
22
|
.build_us_reverse_geo_api_client
|
19
23
|
|
20
24
|
# Documentation for input fields can be found at:
|
@@ -16,7 +16,10 @@ class USStreetMultipleAddressExample
|
|
16
16
|
|
17
17
|
credentials = SmartyStreets::StaticCredentials.new(auth_id, auth_token)
|
18
18
|
|
19
|
-
|
19
|
+
# The appropriate license values to be used for your subscriptions
|
20
|
+
# can be found on the Subscriptions page of the account dashboard.
|
21
|
+
# https://www.smartystreets.com/docs/cloud/licensing
|
22
|
+
client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(%w('us-rooftop-geocoding-cloud'))
|
20
23
|
.build_us_street_api_client
|
21
24
|
batch = SmartyStreets::Batch.new
|
22
25
|
|
@@ -13,7 +13,10 @@ class USStreetSingleAddressExample
|
|
13
13
|
|
14
14
|
credentials = SmartyStreets::StaticCredentials.new(auth_id, auth_token)
|
15
15
|
|
16
|
-
|
16
|
+
# The appropriate license values to be used for your subscriptions
|
17
|
+
# can be found on the Subscriptions page of the account dashboard.
|
18
|
+
# https://www.smartystreets.com/docs/cloud/licensing
|
19
|
+
client = SmartyStreets::ClientBuilder.new(credentials).with_licenses(%w('us-rooftop-geocoding-cloud'))
|
17
20
|
# with_proxy('localhost', 8080, 'proxyUser', 'proxyPassword'). # Uncomment this line to try it with a proxy
|
18
21
|
build_us_street_api_client
|
19
22
|
|
@@ -3,7 +3,7 @@ module SmartyStreets
|
|
3
3
|
# See "https://smartystreets.com/docs/cloud/us-street-api#analysis"
|
4
4
|
class Analysis
|
5
5
|
attr_reader :lacs_link_code, :active, :footnotes, :lacs_link_indicator, :dpv_match_code, :is_suite_link_match,
|
6
|
-
:is_ews_match, :dpv_footnotes, :cmra, :vacant, :no_stat
|
6
|
+
:is_ews_match, :dpv_footnotes, :cmra, :vacant, :no_stat, :match_mode, :match_details
|
7
7
|
|
8
8
|
def initialize(obj)
|
9
9
|
@dpv_match_code = obj['dpv_match_code']
|
@@ -17,6 +17,8 @@ module SmartyStreets
|
|
17
17
|
@lacs_link_code = obj['lacslink_code']
|
18
18
|
@lacs_link_indicator = obj['lacslink_indicator']
|
19
19
|
@is_suite_link_match = obj['suitelink_match']
|
20
|
+
@match_mode = obj['match_mode']
|
21
|
+
@match_details = obj['match_details']
|
20
22
|
end
|
21
23
|
end
|
22
24
|
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.
|
4
|
+
version: 5.11.0
|
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: 2021-
|
11
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|