Class: DeltavistaCrifDvaInterface::SoapConfig
- Inherits:
-
Object
- Object
- DeltavistaCrifDvaInterface::SoapConfig
- Defined in:
- lib/deltavista_crif_dva_interface/soap_config.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#password ⇒ Object
Returns the value of attribute password.
-
#response ⇒ Object
Returns the value of attribute response.
-
#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
Returns a new instance of SoapConfig.
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 5 def initialize() default_endpoint = 'https://preprodservices.crif-online.ch/CrifSS/CrifSoapServiceV1' default_wsdl = File.('../../wsdl/crif-soap-service_v1.0.wsdl', File.dirname(__FILE__)) @endpoint = [:endpoint] ? [:endpoint] : default_endpoint @wsdl = [:wsdl] ? [:wsdl] : default_wsdl @user_name = [:user_name] @password = [:password] @action = [:action] ? [:action] : nil @response = [:response] ? [:response] : nil @logger = [:logger] ? [:logger] : Logger.new(STDOUT) end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
3 4 5 |
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3 def action @action end |
#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 |
#response ⇒ Object
Returns the value of attribute response.
3 4 5 |
# File 'lib/deltavista_crif_dva_interface/soap_config.rb', line 3 def response @response 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 |