lib/apis/news.js
function News(config) {
    this.getRecent = function() {
        return new Promise(function(resolve, reject) {
            request.rss(config.urls.rss).then(function(data) {
                resolve(data);
            }).catch(reject);
        });
    }
}
function News(config) {
    this.getRecent = function() {
        return new Promise(function(resolve, reject) {
            request.rss(config.urls.rss).then(function(data) {
                resolve(data);
            }).catch(reject);
        });
    }
}
function News ( config ) { this . getRecent = function ( ) { return new Promise ( function ( resolve , reject ) { request . rss ( config . urls . rss ) . then ( function ( data ) { resolve ( data ) ; } ) . catch ( reject ) ; } ) ; } }
Module containing to retrieve RS News
@module News
Module containing to retrieve RS News