Class: SmartyStreets::USEnrichment::GeoReference::CensusCountyDivisionEntry
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::GeoReference::CensusCountyDivisionEntry
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_county_division_entry.rb
Instance Attribute Summary collapse
-
#accuracy ⇒ Object
readonly
Returns the value of attribute accuracy.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(obj) ⇒ CensusCountyDivisionEntry
constructor
A new instance of CensusCountyDivisionEntry.
Constructor Details
#initialize(obj) ⇒ CensusCountyDivisionEntry
Returns a new instance of CensusCountyDivisionEntry.
7 8 9 10 11 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_county_division_entry.rb', line 7 def initialize(obj) @accuracy = obj['accuracy'] @code = obj['code'] @name = obj['name'] end |
Instance Attribute Details
#accuracy ⇒ Object (readonly)
Returns the value of attribute accuracy.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_county_division_entry.rb', line 5 def accuracy @accuracy end |
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_county_division_entry.rb', line 5 def code @code end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_county_division_entry.rb', line 5 def name @name end |