class GeocodeFeatureAttributes
Constants
- ADM0CAP
- ADM1CAP
- FIELDS
- LABELRANK
- NATSCALE
- NEIGHBORHOODTYPE
- POPULATION
- SCALERANK
- SOCIALLYRELEVANT
- URLS
- WORLDCITY
Public Instance Methods
struct_fields()
click to toggle source
# File lib/thrift/geocoder_types.rb, line 250 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/thrift/geocoder_types.rb, line 252 def validate unless @neighborhoodType.nil? || ::NeighborhoodType::VALID_VALUES.include?(@neighborhoodType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field neighborhoodType!') end end