ruby: Naming/PredicateName correct

This commit is contained in:
ZEROM22
2023-11-20 11:53:13 +03:00
parent 94d22003b5
commit 8f4de5ce0d
5 changed files with 19 additions and 19 deletions

View File

@ -66,7 +66,7 @@ class ServiceConverter
req.add_field('Accept', 'application/json') # set headers
req.add_field('Content-Type', 'application/json')
if JwtHelper.is_enabled && JwtHelper.use_for_request # if the signature is enabled
if JwtHelper.enabled? && JwtHelper.use_for_request # if the signature is enabled
payload['token'] = JwtHelper.encode(payload) # get token and save it to the payload
jwt_header = ServiceConverter.config_manager.jwt_header; # get signature authorization header
# set it to the request with the Bearer prefix