deltavista_crif_dva_interface 0.1.03 → 0.1.04
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,13 @@
|
|
1
1
|
module DeltavistaCrifDvaInterface
|
2
2
|
class SoapConfig
|
3
|
-
attr_accessor :endpoint, :wsdl, :user_name, :password
|
3
|
+
attr_accessor :endpoint, :wsdl, :user_name, :password, :logger
|
4
4
|
|
5
5
|
def initialize(options)
|
6
6
|
@endpoint = options[:endpoint] ? options[:endpoint] : 'https://preprodservices.crif-online.ch/CrifSS/CrifSoapServiceV1'
|
7
7
|
@wsdl = options[:wsdl] ? options[:wsdl] : '/wsdl/crif-soap-service_v1.0.wsdl'
|
8
8
|
@user_name = options[:user_name]
|
9
9
|
@password = options[:password]
|
10
|
+
@logger = options[:logger] ? options[:logger] : Logger.new(STDOUT)
|
10
11
|
end
|
11
12
|
|
12
13
|
end
|