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