code: function(opts) {
        opts = formatOptions(opts);
        my.setConfig(opts.name);
        var cfg = my.config,
            self = this;
        _.forEach(cfg, function(value, key) {
          self[key] = value;
        });
        if (opts.path) {
          opts.path = opts.path.urlSanify();
        }
        this.request   = opts.request;
        this.path      = opts.path;
        this.method    = opts.method || 'GET';
        this.plain     = opts.plain  || false;
      }
docs: The constructor
  
  @param {Object} [opts] The construction options
  @param {Object} opts.name The name of the required configuration
  @param {Object} opts.request The request object
  @param {String} opts.path The required route
  @param {String} opts.method = 'GET' The http verb
  @param {Boolean} opts.plain = false True if the request body is in plaintext
  @param {String} opts.transport = 'http' The transport protocol ('http' or 'ws')
  @constructor
  @ignore