Source: api/masteries.js

 * @module masteries
 * @desc Wrapper for Riot's masteries v3 api
 * @see {@link|See Riot API for method output}

'use strict';

let serverdata = require('../services/serverdata');

 * gets a match record for the specified match ID
 * @param {number} summonerId summoner ID to get match record for
 * @see {@link|See Riot API for method output}
 * @static
function getMasteryById(summonerId){
    return serverdata.makeAsyncHttpsCall('masteries','masteriesById', {summonerId:summonerId});
    return Promise.reject(new Error('No summoner ID specified'));

module.exports.getMasteryById = getMasteryById;