Skip to content
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

Invalid ENUM value EEK for class #CurrencyCode #250

Open
xxswingxx opened this issue Mar 23, 2023 · 4 comments
Open

Invalid ENUM value EEK for class #CurrencyCode #250

xxswingxx opened this issue Mar 23, 2023 · 4 comments
Assignees

Comments

@xxswingxx
Copy link

When attempting to retrieve a list of currencies with

xero_client.accounting_api.get_currencies(tenant_id)

we get RuntimeError (Invalid ENUM value EEK for class #CurrencyCode)

The Estonian Kroon seems to be missing in the list of currencies: https://github.com/XeroAPI/xero-ruby/blob/master/lib/xero-ruby/models/projects/currency_code.rb

@github-actions
Copy link

PETOSS-286

@github-actions
Copy link

Thanks for raising an issue, a ticket has been created to track your request

This was referenced Mar 24, 2023
@xxswingxx
Copy link
Author

@pumpkinball
Copy link
Contributor

Hi @xxswingxx thanks for raising this, and for your PR.
I've updated the OpenAPI spec for this, as it applies to all our SDKs.
From that we will build the Ruby SDK with the missing currency codes you picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants