Class: DeltavistaCrifDvaInterface::SoapConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/deltavista_crif_dva_interface/soap_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ SoapConfig



5
6
7
8
9
10
11
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 5

def initialize(options)
  @endpoint = options[:endpoint] ? options[:endpoint] : 'https://preprodservices.crif-online.ch/CrifSS/CrifSoapServiceV1'
  @wsdl = options[:wsdl] ? options[:wsdl] : '/wsdl/crif-soap-service_v1.0.wsdl'
  @user_name = options[:user_name]
  @password = options[:password]
  @logger = options[:logger] ? options[:logger] : Logger.new(STDOUT)
end

Instance Attribute Details

#endpointObject

Returns the value of attribute endpoint.



3
4
5
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3

def endpoint
  @endpoint
end

#loggerObject

Returns the value of attribute logger.



3
4
5
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3

def logger
  @logger
end

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3

def password
  @password
end

#user_nameObject

Returns the value of attribute user_name.



3
4
5
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3

def user_name
  @user_name
end

#wsdlObject

Returns the value of attribute wsdl.



3
4
5
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3

def wsdl
  @wsdl
end