src/sports/gameDefaults.js
function formatQuery(options) {
    var requiredParams
    if (options && typeof options !== 'function') {
      options.query = requiredParams = _.pick(_.extend({}, options, options.query), 'tournament_id', 'league_id', 'flight_id', 'division_id')
    }
    if (_.isEmpty(requiredParams)) throw new Error('tournament_id, league_id, flight_id or division_id are required.')
  }
function formatQuery(options) {
    var requiredParams
    if (options && typeof options !== 'function') {
      options.query = requiredParams = _.pick(_.extend({}, options, options.query), 'tournament_id', 'league_id', 'flight_id', 'division_id')
    }
    if (_.isEmpty(requiredParams)) throw new Error('tournament_id, league_id, flight_id or division_id are required.')
  }
function formatQuery ( options ) { var requiredParams if ( options && typeof options !== 'function' ) { options . query = requiredParams = _ . pick ( _ . extend ( { } , options , options . query ) , 'tournament_id' , 'league_id' , 'flight_id' , 'division_id' ) } if ( _ . isEmpty ( requiredParams ) ) throw new Error ( 'tournament_id, league_id, flight_id or division_id are required.' ) }
GameDefaults Class

@param {Object} attr
@param {Object} options
@api public
GameDefaults Class