Class: Hubspot::Lead
- Defined in:
- app/models/hubspot/lead.rb
Overview
Finds and updates leads
Finds: Hubspot::Lead.find :all, :params => { :search => ‘test’ } Hubspot::Lead.find <GUID>
Updates: lead.firstName = ‘Reinier’; lead.save! lead.update_attributes(:firstName => ‘Reinier’)