src/sports/standingsDefault.js
function scopeUrl(options, inst) {
    options = _.extend(_.clone(options || {}), inst)
    if (typeof options !== 'object' && (!options.tournament_id || !options.flight_id || !options.league_id))
      throw new Error('tournament_id required to make StandingsDefault api calls')

    return options.tournament_id ? tournamentUrl(options.tournament_id) : leagueUrl(options.league_id, options.game_type)
  }
function scopeUrl(options, inst) {
    options = _.extend(_.clone(options || {}), inst)
    if (typeof options !== 'object' && (!options.tournament_id || !options.flight_id || !options.league_id))
      throw new Error('tournament_id required to make StandingsDefault api calls')

    return options.tournament_id ? tournamentUrl(options.tournament_id) : leagueUrl(options.league_id, options.game_type)
  }
Scopes the url to the tournament or flight

@param {Object} options
@returns {String}
@api public