Class: SmartyStreets::USEnrichment::Secondary::AliasesEntry
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::Secondary::AliasesEntry
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb
Instance Attribute Summary collapse
-
#city_name ⇒ Object
readonly
Returns the value of attribute city_name.
-
#plus4_code ⇒ Object
readonly
Returns the value of attribute plus4_code.
-
#primary_number ⇒ Object
readonly
Returns the value of attribute primary_number.
-
#smarty_key ⇒ Object
readonly
Returns the value of attribute smarty_key.
-
#state_abbreviation ⇒ Object
readonly
Returns the value of attribute state_abbreviation.
-
#street_name ⇒ Object
readonly
Returns the value of attribute street_name.
-
#street_postdirection ⇒ Object
readonly
Returns the value of attribute street_postdirection.
-
#street_predirection ⇒ Object
readonly
Returns the value of attribute street_predirection.
-
#street_suffix ⇒ Object
readonly
Returns the value of attribute street_suffix.
-
#zipcode ⇒ Object
readonly
Returns the value of attribute zipcode.
Instance Method Summary collapse
-
#initialize(obj) ⇒ AliasesEntry
constructor
A new instance of AliasesEntry.
Constructor Details
#initialize(obj) ⇒ AliasesEntry
Returns a new instance of AliasesEntry.
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 8 def initialize(obj) @smarty_key = obj['smarty_key'] @primary_number = obj['primary_number'] @street_predirection = obj['street_predirection'] @street_name = obj['street_name'] @street_suffix = obj['street_suffix'] @street_postdirection = obj['street_postdirection'] @city_name = obj['city_name'] @state_abbreviation = obj['state_abbreviation'] @zipcode = obj['zipcode'] @plus4_code = obj['plus4_code'] end |
Instance Attribute Details
#city_name ⇒ Object (readonly)
Returns the value of attribute city_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def city_name @city_name end |
#plus4_code ⇒ Object (readonly)
Returns the value of attribute plus4_code.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def plus4_code @plus4_code end |
#primary_number ⇒ Object (readonly)
Returns the value of attribute primary_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def primary_number @primary_number end |
#smarty_key ⇒ Object (readonly)
Returns the value of attribute smarty_key.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def smarty_key @smarty_key end |
#state_abbreviation ⇒ Object (readonly)
Returns the value of attribute state_abbreviation.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def state_abbreviation @state_abbreviation end |
#street_name ⇒ Object (readonly)
Returns the value of attribute street_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def street_name @street_name end |
#street_postdirection ⇒ Object (readonly)
Returns the value of attribute street_postdirection.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def street_postdirection @street_postdirection end |
#street_predirection ⇒ Object (readonly)
Returns the value of attribute street_predirection.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def street_predirection @street_predirection end |
#street_suffix ⇒ Object (readonly)
Returns the value of attribute street_suffix.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def street_suffix @street_suffix end |
#zipcode ⇒ Object (readonly)
Returns the value of attribute zipcode.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb', line 5 def zipcode @zipcode end |