Sha256: 2e0b2ae77cfca9032eec35bd0c8f9006ab09dbcaf14dc8bf6b5db3f7f199f638
Contents?: true
Size: 764 Bytes
Versions: 1
Compression:
Stored size: 764 Bytes
Contents
require 'savon' module Trizetto module Api # Base class for WebService API requests class WebService # :nodoc: def initialize(options = {}) @client = Savon.client({ # SOAP Version 1 sends the wrong content type header and you get back a 415 response soap_version: 2, soap_header: { "tns:AuthSOAPHeader": { "tns:User": Trizetto::Api.configuration.username, "tns:Password": Trizetto::Api.configuration.password }}, # API maybe case sensitive - im not sure convert_request_keys_to: :none, ssl_version: :TLSv1_2, # Lots of PHI, so lets not log anything log: false, }.merge(options)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trizetto-api-0.2.4 | lib/trizetto/api/web_service.rb |