Module: Closeio::Client::Activity
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/activity.rb
Instance Method Summary collapse
- #create_call(options = {}) ⇒ Object
- #create_email(body) ⇒ Object
- #create_note(options) ⇒ Object
- #create_sms(options) ⇒ Object
- #delete_call(id) ⇒ Object
- #delete_email(id) ⇒ Object
- #delete_emailthread(id) ⇒ Object
- #delete_note(id) ⇒ Object
- #delete_sms(id) ⇒ Object
- #find_call(id) ⇒ Object
- #find_email(id) ⇒ Object
- #find_emailthread(id) ⇒ Object
- #find_note(id) ⇒ Object
- #find_sms(id) ⇒ Object
- #list_activities(options = {}) ⇒ Object
-
#list_calls(options = {}) ⇒ Object
Call Activities.
-
#list_emails(options = {}) ⇒ Object
Email Activities.
-
#list_emailthreads(options = {}) ⇒ Object
EmailThread Activities.
-
#list_meetings(options = {}) ⇒ Object
Meeting Activities.
-
#list_notes(options = {}) ⇒ Object
Note Activities.
-
#list_sms(options = {}) ⇒ Object
SMS Activities.
- #update_call(id, options = {}) ⇒ Object
- #update_email(id, options = {}) ⇒ Object
- #update_note(id, options = {}) ⇒ Object
- #update_sms(id, options = {}) ⇒ Object
Instance Method Details
#create_call(options = {}) ⇒ Object
84 85 86 |
# File 'lib/closeio/resources/activity.rb', line 84 def create_call( = {}) post(call_path, ) end |
#create_email(body) ⇒ Object
44 45 46 |
# File 'lib/closeio/resources/activity.rb', line 44 def create_email(body) post(email_path, body) end |
#create_note(options) ⇒ Object
20 21 22 |
# File 'lib/closeio/resources/activity.rb', line 20 def create_note() post(note_path, ) end |
#create_sms(options) ⇒ Object
108 109 110 |
# File 'lib/closeio/resources/activity.rb', line 108 def create_sms() post(sms_path, ) end |
#delete_call(id) ⇒ Object
92 93 94 |
# File 'lib/closeio/resources/activity.rb', line 92 def delete_call(id) delete("#{call_path}#{id}/") end |
#delete_email(id) ⇒ Object
52 53 54 |
# File 'lib/closeio/resources/activity.rb', line 52 def delete_email(id) delete("#{email_path}#{id}/") end |
#delete_emailthread(id) ⇒ Object
68 69 70 |
# File 'lib/closeio/resources/activity.rb', line 68 def delete_emailthread(id) delete("#{emailthread_path}#{id}/") end |
#delete_note(id) ⇒ Object
28 29 30 |
# File 'lib/closeio/resources/activity.rb', line 28 def delete_note(id) delete("#{note_path}#{id}/") end |
#delete_sms(id) ⇒ Object
116 117 118 |
# File 'lib/closeio/resources/activity.rb', line 116 def delete_sms(id) delete("#{sms_path}#{id}/") end |
#find_call(id) ⇒ Object
80 81 82 |
# File 'lib/closeio/resources/activity.rb', line 80 def find_call(id) get("#{call_path}#{id}/") end |
#find_email(id) ⇒ Object
40 41 42 |
# File 'lib/closeio/resources/activity.rb', line 40 def find_email(id) get("#{email_path}#{id}/") end |
#find_emailthread(id) ⇒ Object
64 65 66 |
# File 'lib/closeio/resources/activity.rb', line 64 def find_emailthread(id) get("#{emailthread_path}#{id}/") end |
#find_note(id) ⇒ Object
16 17 18 |
# File 'lib/closeio/resources/activity.rb', line 16 def find_note(id) get("#{note_path}#{id}/") end |
#find_sms(id) ⇒ Object
104 105 106 |
# File 'lib/closeio/resources/activity.rb', line 104 def find_sms(id) get("#{sms_path}#{id}/") end |
#list_activities(options = {}) ⇒ Object
4 5 6 |
# File 'lib/closeio/resources/activity.rb', line 4 def list_activities( = {}) get(activity_path, ) end |
#list_calls(options = {}) ⇒ Object
Call Activities
76 77 78 |
# File 'lib/closeio/resources/activity.rb', line 76 def list_calls( = {}) get(call_path, ) end |
#list_emails(options = {}) ⇒ Object
Email Activities
36 37 38 |
# File 'lib/closeio/resources/activity.rb', line 36 def list_emails( = {}) get(email_path, ) end |
#list_emailthreads(options = {}) ⇒ Object
EmailThread Activities
60 61 62 |
# File 'lib/closeio/resources/activity.rb', line 60 def list_emailthreads( = {}) get(emailthread_path, ) end |
#list_meetings(options = {}) ⇒ Object
Meeting Activities
124 125 126 |
# File 'lib/closeio/resources/activity.rb', line 124 def list_meetings( = {}) get(meeting_path, ) end |
#list_notes(options = {}) ⇒ Object
Note Activities
12 13 14 |
# File 'lib/closeio/resources/activity.rb', line 12 def list_notes( = {}) get(note_path, ) end |
#list_sms(options = {}) ⇒ Object
SMS Activities
100 101 102 |
# File 'lib/closeio/resources/activity.rb', line 100 def list_sms( = {}) get(sms_path, ) end |
#update_call(id, options = {}) ⇒ Object
88 89 90 |
# File 'lib/closeio/resources/activity.rb', line 88 def update_call(id, = {}) put("#{call_path}#{id}/", ) end |
#update_email(id, options = {}) ⇒ Object
48 49 50 |
# File 'lib/closeio/resources/activity.rb', line 48 def update_email(id, = {}) put("#{email_path}#{id}/", ) end |
#update_note(id, options = {}) ⇒ Object
24 25 26 |
# File 'lib/closeio/resources/activity.rb', line 24 def update_note(id, = {}) put("#{note_path}#{id}/", ) end |
#update_sms(id, options = {}) ⇒ Object
112 113 114 |
# File 'lib/closeio/resources/activity.rb', line 112 def update_sms(id, = {}) put("#{sms_path}#{id}/", ) end |