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

Merge pull request #792 from vireton/master

Handle freegoip's updated response format
parents a4972f5f 7a591b67
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ module Geocoder::Result
end
def postal_code
@data['zipcode']
@data['zipcode'] || @data['zip_code']
end
def self.response_attributes
......
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