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