Class: ZohoCrm::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/zoho_crm/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenObject

Returns the value of attribute api_token.



3
4
5
# File 'lib/zoho_crm/configuration.rb', line 3

def api_token
  @api_token
end