code: function(flavor, callback) {
          var flavorId = flavor instanceof rackspace.Flavor ? flavor.id : flavor;
  
          this.doServerAction(
              {
                  action: {
                      'resize': { 'flavorRef': flavorId }
                  }
              }, callback);
      }
docs: @name Server.resize
  @description Resizes this instance to another flavor. In essence scaling
  the server up or down. The original server is saved for a period of time
  to rollback if there is a problem. The 'flavor' can be an instance of a
  rackspace-openstack Flavor or a flavor id.
  @param {Object|String}   flavor      Provide the Flavor or flavor id to
  be used when resizing this server
  
  @param {Function}        callback    handles the callback of your api call