Class: Hubspot::Lead

Inherits:
Base
  • Object
show all
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’)

Method Summary

Methods inherited from Base

collection_path, connection, element_path, #to_json