league-wrapper
Version:
REST API Wrapper for the League of Legends API
17 lines (13 loc) • 403 B
JavaScript
;
const convert = require('../../util/convert.js');
/**
* @class
* @alias module:LeagueWrapper/dto/featuredGames~Observer
* @property {string} encryptionKey - Key used to decrypt the spectator grid game data for playback
*/
class Observer {
constructor(data) {
this.encryptionKey = convert(data.encryptionKey, String);
}
}
exports = module.exports = Observer;