Sha256: 3f1a48126ae894aa4bc245c4ec1cd640b3885b36821905ffc69dcdf801ce2e6f

Contents?: true

Size: 592 Bytes

Versions: 49

Compression:

Stored size: 592 Bytes

Contents

require_relative 'changes'
module SmartyStreets
  module InternationalStreet
    # See "https://smartystreets.com/docs/cloud/international-street-api#analysis"
    class Analysis

      attr_reader :max_address_precision, :verification_status, :address_precision, :changes

      def initialize(obj)
        @verification_status = obj.fetch('verification_status', nil)
        @address_precision = obj.fetch('address_precision', nil)
        @max_address_precision = obj.fetch('max_address_precision', nil)
        @changes = Changes.new(obj.fetch('changes', {}))
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.20.6 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.20.4 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.20.3 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.20.2 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.19.0 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.18.1 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.18.0 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.17.2 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.17.1 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.17.0 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.16.2 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.16.1 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.16.0 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.15.4 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.15.3 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.15.2 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.15.1 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.15.0 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.14.22 lib/smartystreets_ruby_sdk/international_street/analysis.rb
smartystreets_ruby_sdk-5.14.19 lib/smartystreets_ruby_sdk/international_street/analysis.rb