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

Missing getters on Savon::Response soap_fault/soap_error #450

Merged
merged 1 commit into from
May 14, 2013

Conversation

pigoz
Copy link
Contributor

@pigoz pigoz commented May 14, 2013

Savon::Response is missing getters soap_fault and soap_error to access these exceptions when using :raise_errors => false,.

Please let me know if I overlooked something. If not, I will prepare a pull request if you are busy.

@rubiii
Copy link
Contributor

rubiii commented May 14, 2013

you're right. seems like those slipped through the major version refactorings.
a pull request would be awesome!

pigoz added a commit to pigoz/savon that referenced this pull request May 14, 2013
These two methods were removed in the big refactoring for the major release.
Add them back since they are the only API to access the errors when the client
is configured with `:raise_errors => false`.

Fixes savonrb#450
@pigoz
Copy link
Contributor Author

pigoz commented May 14, 2013

Here it is. Please let me know if I have to change something! :)

Cheers

@rubiii
Copy link
Contributor

rubiii commented May 14, 2013

that's perfect! can you update the changelog?

These two methods were removed in the big refactoring for the major release.
Add them back since they are the only API to access the errors when the client
is configured with `:raise_errors => false`.

Fixes savonrb#450
@pigoz
Copy link
Contributor Author

pigoz commented May 14, 2013

Done! Listed it as Fix. Could also be listed as a Feature I guess.

rubiii added a commit that referenced this pull request May 14, 2013
Missing getters on Savon::Response soap_fault/soap_error
@rubiii rubiii merged commit c4b3e48 into savonrb:master May 14, 2013
@rubiii
Copy link
Contributor

rubiii commented May 14, 2013

yeah, could be both :) thanks @pigoz!

@rubiii rubiii mentioned this pull request Jul 26, 2013
27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants