Merge pull request #90 from geertweening/feature/iso_code

[FEATURE] add getter for a Currency's iso_code
This commit is contained in:
wltsmrz
2014-06-03 16:50:12 -07:00
2 changed files with 15 additions and 0 deletions

View File

@@ -346,6 +346,10 @@ Currency.prototype.to_human = function(opts) {
return this.to_json(opts);
};
Currency.prototype.get_iso = function() {
return this._iso_code;
};
exports.Currency = Currency;
// vim:sw=2:sts=2:ts=8:et