class Geocoder::Lookup::BaiduIp
def base_query_url(query)
def base_query_url(query) "#{protocol}://api.map.baidu.com/location/ip?" end
def content_key
def content_key 'content' end
def name
def name "Baidu IP" end
def query_url_params(query)
def query_url_params(query) { :ip => query.sanitized_text, :ak => configuration.api_key, :coor => "bd09ll" }.merge(super) end