class InContact::CallLists

Public Instance Methods

all() click to toggle source
# File lib/incontact/call_lists.rb, line 3
def all
  connection.get("lists/call-lists")
end
create(body) click to toggle source
# File lib/incontact/call_lists.rb, line 15
def create(body)
  connection.post("lists/call-lists", body)
end
find(call_list_id) click to toggle source
# 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) click to toggle source
# 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