Class: SmartyStreets::USEnrichment::GeoReference::CensusTractEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ CensusTractEntry

Returns a new instance of CensusTractEntry.



7
8
9
# File 'lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_tract_entry.rb', line 7

def initialize(obj)
  @code = obj['code']
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_tract_entry.rb', line 5

def code
  @code
end