code: function(method) {
                          return function(url, data, options, before) {
                              var index = ++method_index;
                              ++loading;
                              promises.push(qwest(method, pinky.base + url, data, options, before).then(function(xhr, response) {
                                  values[index] = arguments;
                                  if(!--loading) {
                                      pinky(true, values.length == 1 ? values[0] : [values]);
                                  }
                              }, function() {
                                  pinky(false, arguments);
                              }));
                              return pinky;
                          };
                      }
docs: Basic request method