Class: ZohoCrm::Configuration
- Inherits:
-
Object
- Object
- ZohoCrm::Configuration
- Defined in:
- lib/zoho_crm/configuration.rb
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
Instance Method Summary collapse
-
#initialize(api_token: 'f38e67c40c83cae6c338b944c5631b0f', base_url: 'https://crm.zoho.com') ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(api_token: 'f38e67c40c83cae6c338b944c5631b0f', base_url: 'https://crm.zoho.com') ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/zoho_crm/configuration.rb', line 5 def initialize(api_token: 'f38e67c40c83cae6c338b944c5631b0f', base_url: 'https://crm.zoho.com') @api_token ||= api_token @base_url ||= base_url end |
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
3 4 5 |
# File 'lib/zoho_crm/configuration.rb', line 3 def api_token @api_token end |