Skip to content

Commit 47ea1d7

Browse files
committed
Generate code to add Classic prefix
1 parent e33e17e commit 47ea1d7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/adyen/services/payment.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ def initialize(client, version = DEFAULT_VERSION)
1818
end
1919

2020
def modifications_api
21-
@modifications_api ||= Adyen::ModificationsApi.new(@client, @version)
21+
@modifications_api ||= Adyen::ClassicModificationsApi.new(@client, @version)
2222
end
2323

2424
def payments_api
25-
@payments_api ||= Adyen::PaymentsApi.new(@client, @version)
25+
@payments_api ||= Adyen::ClassicPaymentsApi.new(@client, @version)
2626
end
2727

2828
end

lib/adyen/services/payment/modifications_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Adyen
55
# Ref: https://openapi-generator.tech
66
#
77
# Do not edit the class manually.
8-
class ModificationsApi < Service
8+
class ClassicModificationsApi < Service
99
attr_accessor :service, :version
1010

1111
def initialize(client, version = DEFAULT_VERSION)

lib/adyen/services/payment/payments_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Adyen
55
# Ref: https://openapi-generator.tech
66
#
77
# Do not edit the class manually.
8-
class PaymentsApi < Service
8+
class ClassicPaymentsApi < Service
99
attr_accessor :service, :version
1010

1111
def initialize(client, version = DEFAULT_VERSION)

0 commit comments

Comments
 (0)