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
- @endpoint = options[:endpoint] ? options[:endpoint] : 'https://preprodservices.crif-online.ch/CrifSS/CrifSoapServiceV1'
7
- @wsdl = options[:wsdl] ? options[:wsdl] : File.dirname(__FILE__) + '/../../wsdl/crif-soap-service_v1.0.wsdl'
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)
@@ -1,3 +1,3 @@
1
1
  module DeltavistaCrifDvaInterface
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deltavista_crif_dva_interface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: