All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- undefined method 'size' for nil when running with dry-validation 0.13 (allow 0.13 to be installed)
- Update
dry-validationto 1.x
#historic_rate_period: Do not blow up if no rates
- Changed
urltohostfot the XE API host (defaults to https://xecdapi.xe.com) - Changed
#convert_fromto accept keyword args named more like the API's param names:frominstead of the first argument akabase_currencytoinstead of the second argument akacounter_currenciesamountinstead of the third argument
- No longer raise exception when XE's response contains an error. Developer should use
#success?on the response instead and inspect#errorto see details.
historic_rate_periodcall to get historic rates over a period
- Fix issue when accessing ConvertFromResponse#to and error was raised
- Raise XEClient::AuthenticationError when there's an auth issue
- Raise XEClient::Error for all other errors
- Add initial working version (
#convert_from)