lib/geocoder/results/maxmind_local.rb in geocoder-1.4.9 vs lib/geocoder/results/maxmind_local.rb in geocoder-1.5.0
- old
+ new
@@ -1,14 +1,9 @@
require 'geocoder/results/base'
module Geocoder::Result
class MaxmindLocal < Base
- def address(format = :full)
- s = state.to_s == "" ? "" : ", #{state}"
- "#{city}#{s} #{postal_code}, #{country}".sub(/^[ ,]*/, "")
- end
-
def coordinates
[@data[:latitude], @data[:longitude]]
end
def city