Skip to content

Commit 211bb5e

Browse files
fixed typo in method name
1 parent 4a2fec7 commit 211bb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AuthenticationSDK/core/Authorization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def getToken(merchantconfig_obj, gmtdatetime)
2525
elsif authenticationType == Constants::AUTH_TYPE_OAUTH
2626
token = GenerateOAuthToken.new.getToken(merchantconfig_obj, gmtdatetime)
2727
else
28-
raise StandardError.ner(Constants::ERROR_PREFIX + Constants::AUTH_ERROR)
28+
raise StandardError.new(Constants::ERROR_PREFIX + Constants::AUTH_ERROR)
2929
end
3030
rescue StandardError => err
3131
@log_obj.logger.error(ExceptionHandler.new.new_api_exception err)

0 commit comments

Comments
 (0)