Class: SmartyStreets::USEnrichment::GeoReference::CensusCountyDivisionEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

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

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

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