Sha256: 70d0d71d71f2b979b68e5892634ac0018b9d9966db5513bb471ab75037cfbb00

Contents?: true

Size: 474 Bytes

Versions: 12

Compression:

Stored size: 474 Bytes

Contents

# frozen_string_literal: true

module EgovUtils
  module Iszr
    class Client
      def initialize(message)
        @client = Savon.client(wsdl: EgovUtils::Settings['iszr']['endpoint'], log: true, log_level: :info, ssl_verify_mode: :none)
        @message = message
      end

      def call
        client.call(
          :get_data,
          message: { 'tns:inputXml' => message }
        )
      end

      private

      attr_reader :client, :message
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha15 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha14 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha13 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha12 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha11 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha10 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha9 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha8 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha7 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha6 app/services/egov_utils/iszr/client.rb
egov_utils-1.5.0.alpha5 app/services/egov_utils/iszr/client.rb