UNPKG

geography-apis-sdk

Version:

SDK for making requests to Geography APIs

21 lines (18 loc) 406 B
/** * Represents the coat of arms of a country. */ class CoatOfArms { /** * Creates an instance of the CoatOfArms class. * @param {object} data - The coat of arms data. */ constructor(data) { if(typeof data == 'undefined') return; /** * The URL of the coat of arms. * @type {string} */ this.svg = data.svg; } } module.exports = CoatOfArms;