Project

hcp

0.0
The project is in a healthy, maintained state
Housecall Pro API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

Housecall Pro API Ruby client

Available methods

Initialize and create a Lead:

lead = Hcp::Lead.new key:, company_id:
lead.create name: 'Alice', phone: '8008008000', email: 'alice@example.com',
  address: { street: '7111 Melrose Ave', city: 'Los Angeles', state: 'CA', zip: '90046' },
  note: 'Very interested in buying', source: 'The Lead Generator'

Change the status of a lead in the pipeline:

pipeline = Hcp::Lead::Pipeline.new id:, key:, company_id:
pipeline.update status_name: 'Won'