def find_by(param)
      if param.key?(:city)
        perform(param[:city].sub(' ', '-'))
      elsif param.key?(:lat) && param.key?(:lng)
        perform("lat=#{param[:lat]}lng=#{param[:lng]}")
      end
    end
def find_by(param)
      if param.key?(:city)
        perform(param[:city].sub(' ', '-'))
      elsif param.key?(:lat) && param.key?(:lng)
        perform("lat=#{param[:lat]}lng=#{param[:lng]}")
      end
    end
=> find weather by city or by gps position