Class: Crefo::Configuration
- Inherits:
-
Object
- Object
- Crefo::Configuration
- Defined in:
- lib/crefo/configuration.rb
Defined Under Namespace
Modules: Builder
Constant Summary collapse
- CURRENT_KEYLISTVERSION =
21
- ENDPOINTS =
{ default: 'https://onlineservice.creditreform.de:443/webservice/0600-0021/soap12/messages.wsdl', test: 'https://ktu.onlineservice.creditreform.de:443/webservice/0600-0021/soap12/messages.wsdl' }.freeze
Instance Attribute Summary collapse
-
#clientapplicationname ⇒ Object
Returns the value of attribute clientapplicationname.
-
#clientapplicationversion ⇒ Object
Returns the value of attribute clientapplicationversion.
-
#communicationlanguage ⇒ Object
Returns the value of attribute communicationlanguage.
-
#connection_options ⇒ Object
Returns the value of attribute connection_options.
- #endpoint ⇒ Object
-
#generalpassword ⇒ Object
Returns the value of attribute generalpassword.
-
#individualpassword ⇒ Object
Returns the value of attribute individualpassword.
-
#keylistversion ⇒ Object
Returns the value of attribute keylistversion.
-
#transactionreference ⇒ Object
Returns the value of attribute transactionreference.
-
#useraccount ⇒ Object
Returns the value of attribute useraccount.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 17 18 19 20 |
# File 'lib/crefo/configuration.rb', line 14 def initialize @keylistversion = CURRENT_KEYLISTVERSION @communicationlanguage = 'de' @clientapplicationversion = Crefo::VERSION.to_i @connection_options = {} @endpoint = :default end |
Instance Attribute Details
#clientapplicationname ⇒ Object
Returns the value of attribute clientapplicationname.
10 11 12 |
# File 'lib/crefo/configuration.rb', line 10 def clientapplicationname @clientapplicationname end |
#clientapplicationversion ⇒ Object
Returns the value of attribute clientapplicationversion.
10 11 12 |
# File 'lib/crefo/configuration.rb', line 10 def clientapplicationversion @clientapplicationversion end |
#communicationlanguage ⇒ Object
Returns the value of attribute communicationlanguage.
9 10 11 |
# File 'lib/crefo/configuration.rb', line 9 def communicationlanguage @communicationlanguage end |
#connection_options ⇒ Object
Returns the value of attribute connection_options.
11 12 13 |
# File 'lib/crefo/configuration.rb', line 11 def @connection_options end |
#endpoint ⇒ Object
22 23 24 |
# File 'lib/crefo/configuration.rb', line 22 def endpoint ENDPOINTS.fetch(@endpoint, @endpoint) end |
#generalpassword ⇒ Object
Returns the value of attribute generalpassword.
11 12 13 |
# File 'lib/crefo/configuration.rb', line 11 def generalpassword @generalpassword end |
#individualpassword ⇒ Object
Returns the value of attribute individualpassword.
11 12 13 |
# File 'lib/crefo/configuration.rb', line 11 def individualpassword @individualpassword end |
#keylistversion ⇒ Object
Returns the value of attribute keylistversion.
9 10 11 |
# File 'lib/crefo/configuration.rb', line 9 def keylistversion @keylistversion end |
#transactionreference ⇒ Object
Returns the value of attribute transactionreference.
9 10 11 |
# File 'lib/crefo/configuration.rb', line 9 def transactionreference @transactionreference end |
#useraccount ⇒ Object
Returns the value of attribute useraccount.
11 12 13 |
# File 'lib/crefo/configuration.rb', line 11 def useraccount @useraccount end |