def pull_url_pairs(params)
      url.keys.map {|k| [k, params.delete(k) || params.delete(k.to_sym)] }
    end
def pull_url_pairs(params)
      url.keys.map {|k| [k, params.delete(k) || params.delete(k.to_sym)] }
    end
Private: Separate the parameters needed to construct a url.