Module: VIISP::Auth::Requests::Soap

Included in:
Identity, Ticket
Defined in:
lib/viisp/auth/requests/soap.rb

Constant Summary collapse

NAMESPACES =
{
  'xmlns:soapenv' => 'http://schemas.xmlsoap.org/soap/envelope/',
  'xmlns:authentication' => 'http://www.epaslaugos.lt/services/authentication',
  'xmlns:ds' => 'http://www.w3.org/2000/09/xmldsig#',
}.freeze

Instance Method Summary collapse

Instance Method Details

#soap_envelope(builder) ⇒ Object



13
14
15
16
17
# File 'lib/viisp/auth/requests/soap.rb', line 13

def soap_envelope(builder)
  builder[:soapenv].Envelope(NAMESPACES) do
    builder.Body { yield }
  end
end