Module: Persistiq::Client::Lead

Included in:
Persistiq::Client
Defined in:
lib/persistiq/resources/lead.rb

Instance Method Summary collapse

Instance Method Details

#create_lead(options = {}) ⇒ Object



9
10
11
# File 'lib/persistiq/resources/lead.rb', line 9

def create_lead(options={})
  post(lead_path, options)
end

#get_lead(id, options = {}) ⇒ Object



13
14
15
# File 'lib/persistiq/resources/lead.rb', line 13

def get_lead(id, options={})
  get(lead_path(id), options)
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