module Closeio::Client::CustomActivity

Public Instance Methods

create_custom_activity(options = {}) click to toggle source
# File lib/closeio/resources/custom_activity.rb, line 12
def create_custom_activity(options = {})
  post(custom_activity_path, options)
end
delete_custom_activity(id) click to toggle source
# File lib/closeio/resources/custom_activity.rb, line 20
def delete_custom_activity(id)
  delete("#{custom_activity_path}#{id}/")
end
find_custom_activity(id) click to toggle source
# File lib/closeio/resources/custom_activity.rb, line 8
def find_custom_activity(id)
  get("#{custom_activity_path}#{id}/")
end
list_custom_activities(options = {}) click to toggle source
# File lib/closeio/resources/custom_activity.rb, line 4
def list_custom_activities(options = {})
  get(custom_activity_path, options)
end
update_custom_activity(id, options = {}) click to toggle source
# File lib/closeio/resources/custom_activity.rb, line 16
def update_custom_activity(id, options = {})
  put("#{custom_activity_path}#{id}/", options)
end

Private Instance Methods

custom_activity_path() click to toggle source
# File lib/closeio/resources/custom_activity.rb, line 26
def custom_activity_path
  'activity/custom/'
end