lib/api/resources.js
function(link, options, callback) {
            var data = {'link': link};
            addSizes(data, options, 'thumbnailSizes');
            addSizes(data, options, 'imageSizes');
            return processr._request('POST', '/resources', data, callback);
        }
function(link, options, callback) {
            var data = {'link': link};
            addSizes(data, options, 'thumbnailSizes');
            addSizes(data, options, 'imageSizes');
            return processr._request('POST', '/resources', data, callback);
        }
function ( link , options , callback ) { var data = { 'link' : link } ; addSizes ( data , options , 'thumbnailSizes' ) ; addSizes ( data , options , 'imageSizes' ) ; return processr . _request ( 'POST' , '/resources' , data , callback ) ; }
Create and process a link

@param  {string}     link                            The link that should be processed
@param  {Object}     [options]                       A set of extra options
@param  {string[]}   [options.thumbnailSizes]        A set of thumbnail dimensions
@param  {string[]}   [options.imageSizes]            A set of image dimensions
@param  {Function}   callback                        Standard callback function
@param  {Error}      callback.err                    The error object as returned by the REST API. If no error occurred, this value will be `null`
@param  {Object}     callback.data                   The data as returned by the REST API. If the request errored, this value will be `null`
Create and process a link