Skip to content

Commit 6413d61

Browse files
committed
+ Fixing case issues in require-relative
1 parent 0157f77 commit 6413d61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

generator/cybersource-ruby-template/api_client.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ module {{moduleName}}
137137
end
138138
# set merchantConfig
139139
def set_configuration(config)
140-
require_relative '../../AuthenticationSDK/core/Merchantconfig.rb'
140+
require_relative '../../AuthenticationSDK/core/MerchantConfig.rb'
141141
$merchantconfig_obj = Merchantconfig.new(config)
142142
@config.host = $merchantconfig_obj.requestHost
143143
end
144144
# Calling Authentication
145145
def CallAuthenticationHeader(http_method, path, body_params, header_params, query_params)
146146
require_relative '../../AuthenticationSDK/core/Authorization.rb'
147-
require_relative '../../AuthenticationSDK/authentication/payloadDigest/Digest.rb'
147+
require_relative '../../AuthenticationSDK/authentication/payloadDigest/digest.rb'
148148
request_target = get_query_param(path, query_params)
149149
# Request Type. [Non-Editable]
150150
request_type = http_method.to_s

lib/cybersource_rest_client/api_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ def build_request(http_method, path, opts = {})
142142
end
143143
# set merchantConfig
144144
def set_configuration(config)
145-
require_relative '../../AuthenticationSDK/core/Merchantconfig.rb'
145+
require_relative '../../AuthenticationSDK/core/MerchantConfig.rb'
146146
$merchantconfig_obj = Merchantconfig.new(config)
147147
@config.host = $merchantconfig_obj.requestHost
148148
end
149149
# Calling Authentication
150150
def CallAuthenticationHeader(http_method, path, body_params, header_params, query_params)
151151
require_relative '../../AuthenticationSDK/core/Authorization.rb'
152-
require_relative '../../AuthenticationSDK/authentication/payloadDigest/Digest.rb'
152+
require_relative '../../AuthenticationSDK/authentication/payloadDigest/digest.rb'
153153
request_target = get_query_param(path, query_params)
154154
# Request Type. [Non-Editable]
155155
request_type = http_method.to_s

0 commit comments

Comments
 (0)