Skip to content

[softposconfiguration] Code generation: update services and models - #411

Open
AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/softposconfiguration
Open

AdyenAutomationBot wants to merge 1 commit into
mainfrom
sdk-automation/softposconfiguration

Conversation

@AdyenAutomationBot

@AdyenAutomationBot AdyenAutomationBot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

This PR contains the automated changes for the softposconfiguration service.

Adyen/adyen-openapi@d449f09

The commit history of this PR reflects the adyen-openapi commits that have been applied.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the auto-generated SoftPOSConfiguration service and its SessionAuthenticationApi class to the Adyen Ruby SDK. A critical issue was found in SessionAuthenticationApi where the undefined constant DEFAULT_VERSION is referenced in the initializer, which will cause a NameError at runtime when instantiated without a version argument.

Comment on lines +9 to +11
attr_accessor :service, :version

def initialize(client, version = DEFAULT_VERSION)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The constant DEFAULT_VERSION is referenced as a default argument in the initialize method, but it is not defined within SessionAuthenticationApi or its parent class Service. This will result in a NameError at runtime if the class is instantiated without explicitly passing a version argument. Defining DEFAULT_VERSION = 3 within this class resolves the issue.

    attr_accessor :service, :version

    DEFAULT_VERSION = 3

    def initialize(client, version = DEFAULT_VERSION)

@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/softposconfiguration branch 2 times, most recently from 4757dd6 to 0aab011 Compare November 6, 2026 10:34
@AdyenAutomationBot
AdyenAutomationBot force-pushed the sdk-automation/softposconfiguration branch from 0aab011 to a6f5b20 Compare November 9, 2026 15:33
@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant