Skip to content

Commit e33e17e

Browse files
committed
Add Classic prefix to templates
1 parent 09fec20 commit e33e17e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/api-single.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Adyen
2323
{{#apiInfo}}
2424
{{#apis}}
2525
def {{classFilename}}
26-
@{{classFilename}} ||= Adyen::{{classname}}.new(@client, @version)
26+
@{{classFilename}} ||= Adyen::{{classicPrefix}}{{classname}}.new(@client, @version)
2727
end
2828

2929
{{/apis}}

templates/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Adyen
66
# Ref: https://openapi-generator.tech
77
#
88
# Do not edit the class manually.
9-
class {{classname}} < Service
9+
class {{classicPrefix}}{{classname}} < Service
1010
attr_accessor :service, :version
1111

1212
def initialize(client, version = DEFAULT_VERSION)

0 commit comments

Comments
 (0)