Sha256: ee600504b35bfb525e540acdda6d37fb58afe7dcca09e1ec1ec7c231b6fd5d83

Contents?: true

Size: 333 Bytes

Versions: 6

Compression:

Stored size: 333 Bytes

Contents

xml.instruct!
xml.tag! 'soap:Envelope', 'xmlns:soap' => 'http://schemas.xmlsoap.org/soap/envelope/',
        'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance' do
  xml.tag! 'soap:Body' do
    xml.tag! "soap:#{wsdl.action}Response" do
      params.each do |key, value| 
        xml.tag! key, value
      end
    end
  end
end

Version data entries

6 entries across 3 versions & 2 rubygems

Version Path
sinatra-soap-current-0.1.8 spec/views/response.builder
sinatra-soap-current-0.1.8 lib/sinatra/views/response.builder
sinatra-soap-0.1.7 lib/sinatra/views/response.builder
sinatra-soap-0.1.7 spec/views/response.builder
sinatra-soap-0.1.5 lib/sinatra/views/response.builder
sinatra-soap-0.1.5 spec/views/response.builder