Class: Adyen::SessionAuthentication
- Inherits:
-
Object
- Object
- Adyen::SessionAuthentication
- Defined in:
- lib/adyen/services/sessionAuthentication.rb
Overview
NOTE: This class is auto generated by OpenAPI Generator Ref: openapi-generator.tech
Do not edit the class manually.
Constant Summary collapse
- DEFAULT_VERSION =
1
Instance Attribute Summary collapse
-
#service ⇒ Object
Returns the value of attribute service.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(client, version = DEFAULT_VERSION) ⇒ SessionAuthentication
constructor
A new instance of SessionAuthentication.
- #session_authentication_api ⇒ Object
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ SessionAuthentication
Returns a new instance of SessionAuthentication.
13 14 15 16 17 |
# File 'lib/adyen/services/sessionAuthentication.rb', line 13 def initialize(client, version = DEFAULT_VERSION) @service = 'SessionAuthentication' @client = client @version = version end |
Instance Attribute Details
#service ⇒ Object
Returns the value of attribute service.
10 11 12 |
# File 'lib/adyen/services/sessionAuthentication.rb', line 10 def service @service end |
#version ⇒ Object
Returns the value of attribute version.
10 11 12 |
# File 'lib/adyen/services/sessionAuthentication.rb', line 10 def version @version end |
Instance Method Details
#session_authentication_api ⇒ Object
19 20 21 |
# File 'lib/adyen/services/sessionAuthentication.rb', line 19 def session_authentication_api @session_authentication_api ||= Adyen::SessionAuthenticationApi.new(@client, @version) end |