class Africastalking::Talk

Public Class Methods

fetch_queued_calls(phone_number, queue_name=nil) click to toggle source
# File lib/africastalking/talk.rb, line 11
def fetch_queued_calls(phone_number, queue_name=nil)
  post('/queueStatus', {"username" => Africastalking.config.username, "phoneNumbers" => phone_number, "queueName" => queue_name})
end
make_call(from, to) click to toggle source
# File lib/africastalking/talk.rb, line 7
def make_call(from, to)
  post('/call', {"username" => Africastalking.config.username, 'from' => from, 'to' => to})
end
upload_file(url) click to toggle source
# File lib/africastalking/talk.rb, line 15
def upload_file(url)
  post('/mediaUpload', {"username" => Africastalking.config.username, 'url' => url})
end