Class: SmartyStreets::USStreet::Analysis

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_street/analysis.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Analysis

Returns a new instance of Analysis.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 8

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

Instance Attribute Details

#activeObject (readonly)

Returns the value of attribute active.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def active
  @active
end

#cmraObject (readonly)

Returns the value of attribute cmra.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def cmra
  @cmra
end

#dpv_footnotesObject (readonly)

Returns the value of attribute dpv_footnotes.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def dpv_footnotes
  @dpv_footnotes
end

#dpv_match_codeObject (readonly)

Returns the value of attribute dpv_match_code.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def dpv_match_code
  @dpv_match_code
end

#enhanced_matchObject (readonly)

Returns the value of attribute enhanced_match.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def enhanced_match
  @enhanced_match
end

#footnotesObject (readonly)

Returns the value of attribute footnotes.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def footnotes
  @footnotes
end

#is_ews_matchObject (readonly)

Returns the value of attribute is_ews_match.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def is_ews_match
  @is_ews_match
end

Returns the value of attribute is_suite_link_match.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def is_suite_link_match
  @is_suite_link_match
end

Returns the value of attribute lacs_link_code.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def lacs_link_code
  @lacs_link_code
end

Returns the value of attribute lacs_link_indicator.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def lacs_link_indicator
  @lacs_link_indicator
end

#no_statObject (readonly)

Returns the value of attribute no_stat.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def no_stat
  @no_stat
end

#vacantObject (readonly)

Returns the value of attribute vacant.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_street/analysis.rb', line 5

def vacant
  @vacant
end