-
Notifications
You must be signed in to change notification settings - Fork 615
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
Soap action named 'load' conflicts with private 'load' method #48
Comments
|
That'd be fine, I don't mind passing in a soap action name to a method call rather than calling a method with the same name. It would be sweet if I could do:
|
seems like we chose the same method name: http://github.com/rubiii/savon/commit/d4c1902ba8401b0dcb3a9779468f097dddfb6b8d |
released version 0.7.6 containg a fix for this problem. please update. |
Savon::Client#call is a workaround for dispatching calls to SOAP actions named after existing methods. fix for issue savonrb#48.
I wanted to encapsulate some common logic into a helper method and use the 'send' method to actually make the call to the Savon client (as below). It works for a soap action called 'search' but it does not work for one called 'load'. It turns out 'load' is a private method and 'send' is attempting to call it.
The text was updated successfully, but these errors were encountered: