rikas / zoho_hub

Zoho CRM API V2 Wrapper
MIT License
25 stars 30 forks source link

Base record add note #40

Closed Fabien-Wecasa closed 5 years ago

Fabien-Wecasa commented 5 years ago

The goal is to be able to add a note to a record following this API entry point.

I propose a very simple method to keep the signature clear. Example of use: Zoho::Lead.add_note(id: '123456789', title: 'My Title', content: 'Some content'). I think it is enough for 99% of the usecases, even if the API allows the creation of sereral notes for the same record in one call.