code: function getMethodHtml(method) {
      var params = method.getParams();
  
      return [
          '<h3>', method.getName(), '</h3>',
          method.getOption('executeOnServerOnly') &&
              '<span class="label label-primary" style="font-size:0.5em;vertical-align:middle">server only</span>',
          '<p>', method.getDescription(), '</p>',
           Object.keys(params).length &&
              [
                  '<table class="table table-bordered table-condensed">',
                      '<thead>',
                          '<tr>',
                              '<th class="col-md-2">Name</th>',
                              '<th class="col-md-2">Type</th>',
                              '<th>Description</th>',
                          '</tr>',
                      '</thead>',
                      '<tbody>',
                          Object.keys(params).map(function (key) {
                              return getMethodParamHtml(key, params[key]);
                          }).join(''),
                      '</tbody>',
                  '</table>'
              ].join('')
      ].filter(Boolean).join('');
  }
docs: Genereates documentation for API method.
  
  @param {ApiMethod} method
  @returns {String}