Module: Persistiq::Client::Lead
- Included in:
- Persistiq::Client
- Defined in:
- lib/persistiq/resources/lead.rb
Instance Method Summary collapse
- #create_lead(options = {}) ⇒ Object
- #get_lead(id, options = {}) ⇒ Object
- #list_leads(paginate = true) ⇒ Object
Instance Method Details
#create_lead(options = {}) ⇒ Object
9 10 11 |
# File 'lib/persistiq/resources/lead.rb', line 9 def create_lead(={}) post(lead_path, ) end |
#get_lead(id, options = {}) ⇒ Object
13 14 15 |
# File 'lib/persistiq/resources/lead.rb', line 13 def get_lead(id, ={}) get(lead_path(id), ) end |
#list_leads(paginate = true) ⇒ Object
5 6 7 |
# File 'lib/persistiq/resources/lead.rb', line 5 def list_leads(paginate = true) get(lead_path) end |