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