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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f89f84d4011a28b76ab8d465d6739df79e5a1627913aba1727a86db053e3af30
4
- data.tar.gz: 4a14fd611da96954d6741aa14298f86e6348deeae245306d10eb52630f23a670
3
+ metadata.gz: df457cd42e87bc1addf658ff0d64ba1a0150861252ac10ae2d5207c4c5311836
4
+ data.tar.gz: 917654d4567954241f85856f8673a6527343fa5196112c5595f76fc840194527
5
5
  SHA512:
6
- metadata.gz: 2e2d508cb7906c19db797a60feb00adbd5e132e4aadd2b656b7e362253a74308a1e792bef5e8216b2e1bb741ccd5228a86e329ea16835151d1cf094b5097dbe7
7
- data.tar.gz: 7bf6945deeb19c48e22bd3f5aa78b42e5aa4a678a977c6a9aeef00fa4457423e7748e69e8a4f4f9798683c618e2a24c2b55f632f86c50d2541b03717f8f382bf
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
- client = SmartyStreets::ClientBuilder.new(credentials) # .with_licenses(%w(international-fake-license))
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
- client = SmartyStreets::ClientBuilder.new(credentials).build_us_autocomplete_pro_api_client
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
- client = SmartyStreets::ClientBuilder.new(credentials)
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
- client = SmartyStreets::ClientBuilder.new(credentials) # .with_licenses(%w(us-rooftop-geocoding-cloud))
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
- client = SmartyStreets::ClientBuilder.new(credentials).
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
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.10.0' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.11.0' # 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.10.0
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-03-23 00:00:00.000000000 Z
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler