Sha256: 1c4bd8d4e3dba089302c08b7ec967c3c1c0f2d11dc9389cf8cf3060be0d85d49

Contents?: true

Size: 910 Bytes

Versions: 40

Compression:

Stored size: 910 Bytes

Contents

module SmartyStreets
  module USStreet
    # See "https://smartystreets.com/docs/cloud/us-street-api#analysis"
    class Analysis
      attr_reader :lacs_link_code, :active, :footnotes, :lacs_link_indicator, :dpv_match_code, :is_suite_link_match,
                  :is_ews_match, :dpv_footnotes, :cmra, :vacant, :no_stat, :enhanced_match

      def initialize(obj)
        @dpv_match_code = obj['dpv_match_code']
        @dpv_footnotes = obj['dpv_footnotes']
        @cmra = obj['dpv_cmra']
        @vacant = obj['dpv_vacant']
        @no_stat = obj['dpv_no_stat']
        @active = obj['active']
        @is_ews_match = obj['ews_match']
        @footnotes = obj['footnotes']
        @lacs_link_code = obj['lacslink_code']
        @lacs_link_indicator = obj['lacslink_indicator']
        @is_suite_link_match = obj['suitelink_match']
        @enhanced_match = obj['enhanced_match']
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

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