Skip to content

Commit

Permalink
don't send nil to Savon::SOAP::XML (fix for savon_spec)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiii committed Nov 6, 2010
1 parent abc42be commit c34b426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/savon/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def preconfigure(options)
soap.endpoint = wsdl.endpoint
soap.namespace_identifier = options[0]
soap.namespace = wsdl.namespace
soap.body = options[2].delete :body
soap.body = options[2].delete(:body) if options[2][:body]

set_soap_action options[1]
set_soap_input *options
Expand Down

0 comments on commit c34b426

Please sign in to comment.