lib/api/modules/channels.js
function (identifier, params) {
    var path = this.constructPath(constants.CHANNELS, identifier);
    return this.Core.GET(path, params);
  }
function (identifier, params) {
    var path = this.constructPath(constants.CHANNELS, identifier);
    return this.Core.GET(path, params);
  }
function ( identifier , params ) { var path = this . constructPath ( constants . CHANNELS , identifier ) ; return this . Core . GET ( path , params ) ; }
Get all the channels or a particular channel identified by the `identifier` parameter
@param  {String|Integer|undefined} identifier A Robin channel identifier
@param  {Object|undefined}         params     A querystring object
@return {Function}                            A Promise
Get all the channels or a particular channel identified by the identifier parameter