Browse files

Remove JSON response correction

Thanks @zeke!
  • Loading branch information...
1 parent 64faf03 commit dff0504e69f1fa23121454fc36beab70e21a2c10 @ezkl committed Apr 17, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/geo_ips.rb
View
6 lib/geo_ips.rb
@@ -27,11 +27,7 @@ def request ip
end
def parse response
- MultiJson.decode(fix_response(response))
- end
-
- def fix_response response_string
- response_string.gsub(/,\n}$/,"\n}")
+ MultiJson.decode(response)
end
end

0 comments on commit dff0504

Please sign in to comment.