Class: SmartyStreets::USEnrichment::Secondary::SecondariesEntry
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::Secondary::SecondariesEntry
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/secondary/secondaries_entry.rb
Instance Attribute Summary collapse
-
#plus4_code ⇒ Object
readonly
Returns the value of attribute plus4_code.
-
#secondary_designator ⇒ Object
readonly
Returns the value of attribute secondary_designator.
-
#secondary_number ⇒ Object
readonly
Returns the value of attribute secondary_number.
-
#smarty_key ⇒ Object
readonly
Returns the value of attribute smarty_key.
Instance Method Summary collapse
-
#initialize(obj) ⇒ SecondariesEntry
constructor
A new instance of SecondariesEntry.
Constructor Details
#initialize(obj) ⇒ SecondariesEntry
Returns a new instance of SecondariesEntry.
7 8 9 10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/secondaries_entry.rb', line 7 def initialize(obj) @smarty_key = obj['smarty_key'] @secondary_designator = obj['secondary_designator'] @secondary_number = obj['secondary_number'] @plus4_code = obj['plus4_code'] end |
Instance Attribute Details
#plus4_code ⇒ Object (readonly)
Returns the value of attribute plus4_code.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/secondaries_entry.rb', line 5 def plus4_code @plus4_code end |
#secondary_designator ⇒ Object (readonly)
Returns the value of attribute secondary_designator.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/secondaries_entry.rb', line 5 def secondary_designator @secondary_designator end |
#secondary_number ⇒ Object (readonly)
Returns the value of attribute secondary_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/secondaries_entry.rb', line 5 def secondary_number @secondary_number end |
#smarty_key ⇒ Object (readonly)
Returns the value of attribute smarty_key.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/secondaries_entry.rb', line 5 def smarty_key @smarty_key end |