code: function(domains, callback) {
          var self = this;
  
          var listOfDomains = [];
          _.each(domains, function(domain) {
              ['name', 'emailAddress'].forEach(function(required) {
                  if (!domain[required]) throw new Error('details.' +
                      required + ' is a required argument.');
              });
  
              var newDomain = {
                  name: domain.name,
                  emailAddress: domain.emailAddress
              };
  
              if (domain.ttl && typeof(domain.ttl) === 'number' && domain.ttl >= 300) {
                  newDomain.ttl = domain.ttl;
              }
  
              if (domain.comment) {
                  newDomain.comment = domain.comment;
              }
  
              listOfDomains.push(newDomain);
          });
  
  
          var requestOptions = {
              uri: '/domains',
              method: 'POST',
              data: {
                  domains: listOfDomains
              },
              endpoint: rackspace.Endpoints.CloudDns
          };
  
          self.authorizedRequest(requestOptions, function(err, res, body) {
              if (err || res.statusCode !== 202) {
                  callback(err ? err : body);
                  return;
              }
  
              callback(err, new rackspace.Status(self, body));
          });
      }
docs: @name Client.createDomains
  
  @description register a new domain in the rackspace domain manager
  
  @param {Array}      domains     the array of domains to create
  @param {Function}   callback    handles the callback of your api call