Module: Closeio::Client::OpportunityStatus

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

Instance Method Summary collapse

Instance Method Details

#create_opportunity_status(options = {}) ⇒ Object



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

def create_opportunity_status(options = {})
  post(opportunity_status_path, options)
end

#delete_opportunity_status(id) ⇒ Object



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

def delete_opportunity_status(id)
  delete(opportunity_status_path(id))
end

#list_opportunity_statusesObject



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

def list_opportunity_statuses
  get(opportunity_status_path)
end

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



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

def update_opportunity_status(id, options = {})
  put(opportunity_status_path(id), options)
end