-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when calling the update_rates
method
#10
Comments
Like described in the documentation, the endpoint is correct: https://currencylayer.com/documentation See my last commit in master. I have changed |
This gem works only with API access keys created on https://currencylayer.com. New created API access keys from https://apilayer.com do not work with this gem. I will release a new version that support both endpoints. |
Hi @phlegx . We're getting |
Hi @phlegx
|
@blazeblazeblaze @pradosh987 thats true. I rewrite the gem to support the new and the old endpoints soon as possible. |
Released v0.7.0 🎉 # (optional)
# Use the old endpoint api.currencylayer.com. By default, the new endpoint is used.
mclb.currencylayer = true |
I'm getting this error when I try to call
update_rates
with a valid API Access KeyI think this is due to a change in the currency layer API endpoint
More details here
If my investigation is right then the fix should be a quick one
Just update https://github.com/phlegx/money-currencylayer-bank/blob/master/lib/money/bank/currencylayer_bank.rb#L34 with
and https://github.com/phlegx/money-currencylayer-bank/blob/master/lib/money/bank/currencylayer_bank.rb#L243 with
The text was updated successfully, but these errors were encountered: