src/mandrill-webhook-authenticator.js
function(body) {
      body = Object(body);
      var sortedKeys = Object.keys(body).sort();
      return sortedKeys.reduce(function(signature, key) {
         return signature + key + body[key];
       }, '');
    }
function(body) {
      body = Object(body);
      var sortedKeys = Object.keys(body).sort();
      return sortedKeys.reduce(function(signature, key) {
         return signature + key + body[key];
       }, '');
    }
function ( body ) { body = Object ( body ) ; var sortedKeys = Object . keys ( body ) . sort ( ) ; return sortedKeys . reduce ( function ( signature , key ) { return signature + key + body [ key ] ; } , '' ) ; }
Sort the post parameters alphabetically and append each POST variable's key and value with no delimiter.
@param { string } body - Post body
@returns { string } string of sorted key values with no delimiter
Sort the post parameters alphabetically and append each POST variable s key and value with no delimiter .