Skip to content
Snippets Groups Projects
Commit af95f60e authored by Alex Reisner's avatar Alex Reisner
Browse files

Avoid re-defining Result methods.

parent c13f03bc
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,7 @@ module Geocoder::Result
end
def self.response_attributes
%w[city region_code region_name metrocode
zipcode country_name country_code ip]
%w[region_code region_name metrocode zipcode country_name ip]
end
response_attributes.each do |a|
......
......@@ -45,7 +45,7 @@ module Geocoder::Result
def self.response_attributes
%w[latt longt inlatt inlongt betweenRoad1 betweenRoad2 distance
stnumber staddress city prov postal
stnumber staddress prov postal
NearRoad NearRoadDistance intersection major_intersection]
end
......
......@@ -26,7 +26,7 @@ module Geocoder::Result
def self.response_attributes
%w[quality offsetlat offsetlon radius boundingbox name
line1 line2 line3 line4 cross house street xstreet unittype unit postal
neighborhood city county state country countrycode statecode countycode
neighborhood county state countrycode statecode countycode
level0 level1 level2 level3 level4 level0code level1code level2code
timezone areacode uzip hash woeid woetype]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment