Extract method from Twitter::REST::Client#request