Sha256: 092d44b9b8dabeebf9d2a3980545580400f37da26acade4ba85b866ab2f1da4e

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 Bytes

Contents

# frozen_string_literal: true

module VIISP
  module Auth
    module Requests
      module Soap
        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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
viisp-auth-custom-0.1.0 lib/viisp/auth/requests/soap.rb