Class: DeltavistaCrifDvaInterface::SoapConfig
- Inherits:
-
Object
- Object
- DeltavistaCrifDvaInterface::SoapConfig
- Defined in:
- lib/deltavista_crif_dva_interface/soap_config.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#password ⇒ Object
Returns the value of attribute password.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
-
#wsdl ⇒ Object
Returns the value of attribute wsdl.
Instance Method Summary collapse
-
#initialize(options) ⇒ SoapConfig
constructor
A new instance of SoapConfig.
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() @endpoint = [:endpoint] ? [:endpoint] : 'https://preprodservices.crif-online.ch/CrifSS/CrifSoapServiceV1' @wsdl = [:wsdl] ? [:wsdl] : '/wsdl/crif-soap-service_v1.0.wsdl' @user_name = [:user_name] @password = [:password] @logger = [:logger] ? [:logger] : Logger.new(STDOUT) end |
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
3 4 5 |
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3 def endpoint @endpoint end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3 def logger @logger end |
#password ⇒ Object
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_name ⇒ Object
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 |
#wsdl ⇒ Object
Returns the value of attribute wsdl.
3 4 5 |
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3 def wsdl @wsdl end |