Class: InContact::CallLists
Instance Attribute Summary
#connection
Instance Method Summary
collapse
#initialize
Instance Method Details
#all ⇒ Object
3
4
5
|
# File 'lib/incontact/call_lists.rb', line 3
def all
connection.get("lists/call-lists")
end
|
#create(body) ⇒ Object
15
16
17
|
# File 'lib/incontact/call_lists.rb', line 15
def create(body)
connection.post("lists/call-lists", body)
end
|
#find(call_list_id) ⇒ Object
7
8
9
|
# File 'lib/incontact/call_lists.rb', line 7
def find(call_list_id)
connection.get("lists/call-lists/#{call_list_id}")
end
|
#upload_file(call_list_id, body) ⇒ Object
11
12
13
|
# File 'lib/incontact/call_lists.rb', line 11
def upload_file(call_list_id, body)
connection.post("lists/call-lists/#{call_list_id}/upload", body)
end
|