Module: Closeio::Client::CustomActivity

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

Instance Method Summary collapse

Instance Method Details

#create_custom_activity(options = {}) ⇒ Object



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

def create_custom_activity(options = {})
  post(custom_activity_path, options)
end

#delete_custom_activity(id) ⇒ Object



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

def delete_custom_activity(id)
  delete("#{custom_activity_path}#{id}/")
end

#list_custom_activities(options = {}) ⇒ Object



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

def list_custom_activities(options = {})
  get(custom_activity_path, options)
end