code: function eachEndpoint(iterator) {
  	for (var namespace in endpoints) {
  		var methods = endpoints[namespace];
  
  		for (var name in methods) {
  			var method = methods[name];
  
  			iterator(namespace, name, method);
  		}
  	}
  
  	return endpoints;
  }
docs: Iterate through all the endpoints available and return the namespace, method name, and method to the iterator function