Skip to content

Commit 0b3e97d

Browse files
authored
Merge pull request #15 from CyberSource/mar2019hotfix
Mar2019hotfix
2 parents 0157f77 + 8120be7 commit 0b3e97d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cybersource_rest_client.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require "cybersource_rest_client/version"
1717

1818
Gem::Specification.new do |s|
1919
s.name = "cybersource_rest_client"
20-
s.version = "0.0.9"
20+
s.version = "0.0.10"
2121
s.platform = Gem::Platform::RUBY
2222
s.authors = ["CyberSource"]
2323
s.email = ["[email protected]"]

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)