Module: Closeio::Client::LeadStatus

Included in:
Closeio::Client
Defined in:
lib/closeio/resources/lead_status.rb

Instance Method Summary collapse

Instance Method Details

#create_lead_status(options = {}) ⇒ Object



8
9
10
# File 'lib/closeio/resources/lead_status.rb', line 8

def create_lead_status(options = {})
  post(lead_status_path, options)
end

#delete_lead_status(id) ⇒ Object



16
17
18
# File 'lib/closeio/resources/lead_status.rb', line 16

def delete_lead_status(id)
  delete(lead_status_path(id))
end

#list_lead_statusesObject



4
5
6
# File 'lib/closeio/resources/lead_status.rb', line 4

def list_lead_statuses
  get(lead_status_path)
end

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



12
13
14
# File 'lib/closeio/resources/lead_status.rb', line 12

def update_lead_status(id, options = {})
  put(lead_status_path(id), options)
end