rikas / zoho_hub

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

Base record: add update method #14

Closed Fabien-Wecasa closed 5 years ago

Fabien-Wecasa commented 5 years ago

I propose in this small PR to implement an update method in BaseRecord. e.g. zoho_lead.update(last_name: "YYY")

rikas commented 5 years ago

@Fabien-Wecasa what happened? Why did you close it?

Fabien-Wecasa commented 5 years ago

This implementation can lead to unexpected behavior : all the attributes are updated in Zoho, even if they are not called by the method. I'll propose a new PR to handle this.