Class: SmartyStreets::USEnrichment::Secondary::AliasesEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_enrichment/secondary/aliases_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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_codeObject (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_numberObject (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_keyObject (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_abbreviationObject (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_nameObject (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_postdirectionObject (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_predirectionObject (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_suffixObject (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

#zipcodeObject (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