json-vat
json-vat copied to clipboard
Reset memoized rates when refreshing JSONVAT cache
When calling JSONVAT.cache
the rates collection isn't affected as it is memoized inside the rates
method and JSONVAT serves old data.
See PR https://github.com/adamcooke/json-vat/pull/7