whole_func_string: function Vanity(options) {
    this.connected = false;
    if (options) {
      this.url = options.url;
      this.token = options.token;
    }
    // We emit this error when we can't make send a request, but we don't want
    // the default behavior of uncaught exception to kill Node.
    this.on("error", function() { });
  }
func_code_string: function Vanity(options) {
    this.connected = false;
    if (options) {
      this.url = options.url;
      this.token = options.token;
    }
    // We emit this error when we can't make send a request, but we don't want
    // the default behavior of uncaught exception to kill Node.
    this.on("error", function() { });
  }
func_documentation_string: Constructs a new Vanity client.  Options are: url    - URL to the vanity server (e.g. "http://vanity.internal") token  - Access token