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

version 0.1.0 brakes add_multiple_errors #23

Open
vdaubry opened this issue Jan 14, 2020 · 1 comment
Open

version 0.1.0 brakes add_multiple_errors #23

vdaubry opened this issue Jan 14, 2020 · 1 comment

Comments

@vdaubry
Copy link

vdaubry commented Jan 14, 2020

When calling add_multiple_errors with an error hash i get NoMethodError: undefined method each' for #String:0x00007ff1cd1a8710`

I have an error object from another command object, when i call add_multiple_errors it works with version 0.9.0 and raises a NoMethodError error with 0.1.0:

>command.errors
:error=>["21004 The shared secret you provided does not match the shared secret on file for your account."]}
>errors.add_multiple_errors(command.errors)
NoMethodError: undefined method `each' for #<String:0x00007ff1cd1a8710>
@vdaubry vdaubry changed the title version 0.1.0 brake add_multiple_errors version 0.1.0 brakes add_multiple_errors Jan 14, 2020
@kennyadsl
Copy link
Member

Thanks for reporting, can you please provide a breaking spec for this scenario?

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

No branches or pull requests

2 participants