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-validation
to 1.x
#historic_rate_period
: Do not blow up if no rates
- Changed
url
tohost
fot the XE API host (defaults to https://xecdapi.xe.com) - Changed
#convert_from
to accept keyword args named more like the API's param names:from
instead of the first argument akabase_currency
to
instead of the second argument akacounter_currencies
amount
instead 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#error
to see details.
historic_rate_period
call 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
)