lib/soaspec/basic_soap_handler.rb in soaspec-0.0.1 vs lib/soaspec/basic_soap_handler.rb in soaspec-0.0.2
- old
+ new
@@ -56,10 +56,9 @@
# TODO: Use this together with Exchange request
def make_request(override_parameters)
test_values = override_parameters # Used in Erb
# Erb parses template file, executing Ruby code in `<% %>` blocks to work out final request
- puts 'O' + override_parameters.to_s
if @request_option == :template
request_body = File.read('template/' + template_name + '.xml')
render_body = ERB.new(request_body).result(binding)
@client.call(default_operation, xml: render_body ) # Call the SOAP operation with the request XML provided
elsif @request_option == :hash
\ No newline at end of file