Module: Closeio::Client::CustomActivity
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/custom_activity.rb
Instance Method Summary collapse
- #create_custom_activity(options = {}) ⇒ Object
- #delete_custom_activity(id) ⇒ Object
- #find_custom_activity(id) ⇒ Object
- #list_custom_activities(options = {}) ⇒ Object
- #update_custom_activity(id, options = {}) ⇒ Object
Instance Method Details
#create_custom_activity(options = {}) ⇒ Object
12 13 14 |
# File 'lib/closeio/resources/custom_activity.rb', line 12 def create_custom_activity( = {}) post(custom_activity_path, ) end |
#delete_custom_activity(id) ⇒ Object
20 21 22 |
# File 'lib/closeio/resources/custom_activity.rb', line 20 def delete_custom_activity(id) delete("#{custom_activity_path}#{id}/") end |
#find_custom_activity(id) ⇒ Object
8 9 10 |
# File 'lib/closeio/resources/custom_activity.rb', line 8 def find_custom_activity(id) get("#{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( = {}) get(custom_activity_path, ) end |
#update_custom_activity(id, options = {}) ⇒ Object
16 17 18 |
# File 'lib/closeio/resources/custom_activity.rb', line 16 def update_custom_activity(id, = {}) put("#{custom_activity_path}#{id}/", ) end |