rikas / zoho_hub

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

Is it possible to use different names for base records? #67

Closed pmalliak closed 2 years ago

pmalliak commented 2 years ago

Hello I already have leads and accounts models in my app. Is it possible to use names like ZohoLead or ZohoAccount instead?

rikas commented 2 years ago

@pmalliak the classes here are namespaced, you can use ZohoHub::Lead and ZohoHub::Account. Maybe the problem is that you're including the ZohoHub namespace in your app and then it clashes with your models?

I'm closing as I think that having the namespaced classes should be enough.