Class: ZohoHub::Account
- Inherits:
-
BaseRecord
- Object
- BaseRecord
- ZohoHub::Account
- Defined in:
- lib/zoho_hub/records/account.rb
Constant Summary collapse
- CATCH_ALL_ID =
This is the ID to be used when the borrower has no organisation (unlikely) or belongs to multiple organisations.
'78265000000826001'- DEFAULTS =
{ account_type: 'Prospect' }.freeze
Instance Method Summary collapse
-
#initialize(params) ⇒ Account
constructor
A new instance of Account.
- #to_params ⇒ Object
Methods inherited from BaseRecord
all, attribute_translation, attributes, #attributes, #build_response, build_response, create, exists?, find, find_by, #get, get, #new_record?, post, #post, put, #put, request_path, #save, where, zoho_key_translation
Constructor Details
Instance Method Details
#to_params ⇒ Object
37 38 39 40 41 |
# File 'lib/zoho_hub/records/account.rb', line 37 def to_params params = super params end |