Sha256: aa336bc800155004870a6d95e7627546dfa9cf961123c50609f850d25074a1cb
Contents?: true
Size: 537 Bytes
Versions: 12
Compression:
Stored size: 537 Bytes
Contents
module Imasei require "singleton" class Connection include Singleton def client @client ||= Savon.client wsdl: Imasei.configuration.wsdl, follow_redirects: Imasei.configuration.follow_redirects, pretty_print_xml: Imasei.configuration.pretty_print_xml, convert_request_keys_to: :camelcase end def call(service, message) request = client.build_request service, message: message Imasei::Printer.xp request.body client.call service, message end end end
Version data entries
12 entries across 12 versions & 1 rubygems