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