smartystreets_ruby_sdk 5.1.1 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,13 +3,14 @@ module SmartyStreets
3
3
  # See "https://smartystreets.com/docs/cloud/international-street-api#metadata"
4
4
  class Metadata
5
5
 
6
- attr_reader :longitude, :geocode_precision, :max_geocode_precision, :latitude
6
+ attr_reader :longitude, :geocode_precision, :max_geocode_precision, :latitude, :address_format
7
7
 
8
8
  def initialize(obj)
9
9
  @latitude = obj.fetch('latitude', nil)
10
10
  @longitude = obj.fetch('longitude', nil)
11
11
  @geocode_precision = obj.fetch('geocode_precision', nil)
12
12
  @max_geocode_precision = obj.fetch('max_geocode_precision', nil)
13
+ @address_format = obj.fetch('address_format', nil)
13
14
  end
14
15
  end
15
16
  end
@@ -1,3 +1,3 @@
1
1
  module SmartyStreets
2
- VERSION = '5.1.1' # DO NOT EDIT (this is updated by a build job when a new release is published)
2
+ VERSION = '5.2.0' # DO NOT EDIT (this is updated by a build job when a new release is published)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartystreets_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.1
4
+ version: 5.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-08-16 00:00:00.000000000 Z
12
+ date: 2017-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler