Class: SmartyStreets::USEnrichment::Secondary::SecondariesEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject (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_designatorObject (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_numberObject (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_keyObject (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