lib/ringcentral_sdk/rest/client.rb in ringcentral_sdk-2.2.1 vs lib/ringcentral_sdk/rest/client.rb in ringcentral_sdk-2.2.2

- old
+ new

@@ -9,20 +9,20 @@ module RingCentralSdk module REST # Client is the RingCentral REST API client class which handles # HTTP requests with built-in OAuth handling class Client - ACCESS_TOKEN_TTL = 600 # 10 minutes + ACCESS_TOKEN_TTL = 600 # 10 minutes REFRESH_TOKEN_TTL = 36_000 # 10 hours REFRESH_TOKEN_TTL_REMEMBER = 604_800 # 1 week - ACCOUNT_PREFIX = '/account/'.freeze - ACCOUNT_ID = '~'.freeze - AUTHZ_ENDPOINT = '/restapi/oauth/authorize'.freeze - TOKEN_ENDPOINT = '/restapi/oauth/token'.freeze - REVOKE_ENDPOINT = '/restapi/oauth/revoke'.freeze - API_VERSION = 'v1.0'.freeze - URL_PREFIX = '/restapi'.freeze - DEFAULT_LANGUAGE = 'en-us'.freeze + ACCOUNT_PREFIX = '/account/'.freeze + ACCOUNT_ID = '~'.freeze + AUTHZ_ENDPOINT = '/restapi/oauth/authorize'.freeze + TOKEN_ENDPOINT = '/restapi/oauth/token'.freeze + REVOKE_ENDPOINT = '/restapi/oauth/revoke'.freeze + API_VERSION = 'v1.0'.freeze + URL_PREFIX = '/restapi'.freeze + DEFAULT_LANGUAGE = 'en-us'.freeze attr_reader :config attr_reader :http attr_reader :logger attr_reader :oauth2client