Module: Closeio::Client::LeadStatus
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/lead_status.rb
Instance Method Summary collapse
- #create_lead_status(options = {}) ⇒ Object
- #delete_lead_status(id) ⇒ Object
- #list_lead_statuses ⇒ Object
- #update_lead_status(id, options = {}) ⇒ Object
Instance Method Details
#create_lead_status(options = {}) ⇒ Object
8 9 10 |
# File 'lib/closeio/resources/lead_status.rb', line 8 def create_lead_status( = {}) post(lead_status_path, ) 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_statuses ⇒ Object
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, = {}) put(lead_status_path(id), ) end |