NAME
com::zoho::crm::api::dc::Environment - This abstract class representing the Zoho CRM environment.
com::zoho::crm::api::dc::DataCenter - This class representing the Zoho CRM environment and accounts URL.
DESCRIPTION
METHODS(Environment)
new
-
Creates the instance of class Environment
get_url
-
This method to get Zoho CRM API URL.
Returns a String representing ZOHO CRM API URL
get_accounts_url
-
This method to get Zoho CRM Accounts URL.
Returns a String representing Accounts URL.
METHODS(DataCenter)
get_iam_url
-
This method to get accounts URL.URL to be used when calling an OAuth accounts.
Returns a string representing accounts url.
set_environment
-
This method sets the environment for the DataCenter.
Param url : A string representing URL.
Param accounts_url : A String representing the accounts url.
Returns Environment class object.