Class: SmartyStreets::USStreet::MatchInfo
- Inherits:
-
Object
- Object
- SmartyStreets::USStreet::MatchInfo
- Defined in:
- lib/smartystreets_ruby_sdk/us_street/component_analysis.rb
Instance Attribute Summary collapse
-
#change ⇒ Object
readonly
Returns the value of attribute change.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(obj = {}) ⇒ MatchInfo
constructor
A new instance of MatchInfo.
Constructor Details
#initialize(obj = {}) ⇒ MatchInfo
Returns a new instance of MatchInfo.
6 7 8 9 |
# File 'lib/smartystreets_ruby_sdk/us_street/component_analysis.rb', line 6 def initialize(obj = {}) @status = obj['status'] @change = obj['change'] || [] end |
Instance Attribute Details
#change ⇒ Object (readonly)
Returns the value of attribute change.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/us_street/component_analysis.rb', line 4 def change @change end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/us_street/component_analysis.rb', line 4 def status @status end |