Class: SmartyStreets::USEnrichment::GeoReference::CensusTractEntry
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::GeoReference::CensusTractEntry
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/census_tract_entry.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(obj) ⇒ CensusTractEntry
constructor
A new instance of CensusTractEntry.
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
#code ⇒ Object (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 |