Class: SmartyStreets::USEnrichment::GeoReference::CensusBlockEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_block_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

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

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