code: function(path, params) {
      path = path.replace(/{([^{}]*)}/g, function(tag, property) {
        var param = params[property]
        delete params[property]
        return param
      })
  
      return { path: path, params: params }
    }
docs: /*
  Parses a path string, replacing '{property}' tags with the
  corresponding value from the params object and removes those
  properties from the params object.
  
  > var path = '/engines/{engine}/document_types/{documentType}.json'
  > var params = { engine: 'foo', documentType: 'bar', another: 'param' }
  > this._buildUri(path, params)
  { path: '/engines/foo/document_types/bar.json, params: { another: 'param' } }